Code Monkey home page Code Monkey logo

Comments (7)

lanrion avatar lanrion commented on May 29, 2024

在rails 控制台可以,你的rails server,要重新启动一下。因为如果gem做了升级的话,需要重启server才会重新加载。

from weixin_authorize.

u0x01 avatar u0x01 commented on May 29, 2024

抱歉,忘了加上了

Using weixin_authorize 1.6.3
Using weixin_rails_middleware 1.3.0

另外 我用

Using weixin_rails_middleware 1.3.1 from https://github.com/lanrion/weixin_rails_middleware.git (at master)

的时候找不到,请问更新了吗

from weixin_authorize.

lanrion avatar lanrion commented on May 29, 2024

早上你贴出来的,是weixin_authorize 1.6.0,现在是已经是1.6.3,你要记得重启你的server,才会重新加载新版本呀。
另外 weixin_rails_middleware目前最高的版本是 1.3.0,为啥你的有1.3.1。

from weixin_authorize.

u0x01 avatar u0x01 commented on May 29, 2024

因为 weixin_rails_middleware #43
我以为更新了~

from weixin_authorize.

lanrion avatar lanrion commented on May 29, 2024

💯

原回复是这样:

此接口master分支已添加:reply_transfer_customer_service_message(from=nil, to=nil, kf_account=nil)
如果kf_account指定了,则为指定客服。
会在1.3.1版本发布。

意思是,你需要使用master分支的代码才会生效,然后这个功能会在1.3.1版本正式发布,但我现在还没有发布1.3.1这个版本呀。所以你需要这样使用:

gem 'weixin_rails_middleware', git: "https://github.com/lanrion/weixin_rails_middleware.git", branch: "master"

from weixin_authorize.

lanrion avatar lanrion commented on May 29, 2024

undefined method `get_jssign_package' for #WeixinAuthorize::Client:0x007f6400dd95f8

这个问题,你重启server后,应该就解决了。

from weixin_authorize.

u0x01 avatar u0x01 commented on May 29, 2024

感谢🙏🙏🙏
重启后问题就解决了,😣还是开发经验不足,没注意到更新gem以后需要重启服务这点。

from weixin_authorize.

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.