Giter Club home page Giter Club logo

Comments (7)

nick-ma avatar nick-ma commented on June 27, 2024

你可以在使用的时候把2个库同时引入。 目前没有计划把这2个库合在一起。

from wechat-api.

XGHeaven avatar XGHeaven commented on June 27, 2024

但是这个两个库的代码几乎就是一样的,只是多了一些不同的东西而已。
同时引入两个库是不是有一些浪费?

from wechat-api.

JacksonTian avatar JacksonTian commented on June 27, 2024

完全不一样。

from wechat-api.

XGHeaven avatar XGHeaven commented on June 27, 2024

@JacksonTian 您说的完全不一样是指什么内容?我大体看了一下,基础东西是一样的,完全可以将其作为一个模块mixin入到API中,请问这样不可以么?

from wechat-api.

JacksonTian avatar JacksonTian commented on June 27, 2024

职责单一,且方便测试。

from wechat-api.

XGHeaven avatar XGHeaven commented on June 27, 2024

@JacksonTian 哦,我有点明白了,那我就在引入wechat-oauth库好了,那我close了~~

from wechat-api.

 avatar commented on June 27, 2024

F:\微信端\WeixinApp\node_modules_express@4.15.5@express\lib\router\index.js:458
throw new TypeError('Router.use() requires middleware function but got a ' + gettype(fn));
^

TypeError: Router.use() requires middleware function but got a Object
你们有遇到过这种情况吗?

from wechat-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.