Code Monkey home page Code Monkey logo

Comments (7)

007gzs avatar 007gzs commented on July 29, 2024

LOG是你直接复制的么?所有参数都不对啊,
{"component_appid":"component_appid","authorizer_appid":"authorizer_appid","authorizer_refresh_token":null}
这些应该都是对应的APPID才对啊,你的ConfigStorage怎么设置的?

from weixin-java-open-demo.

TonyLuo avatar TonyLuo commented on July 29, 2024

"component_appid和"authorizer_appid"," 做了修改,因为不想把这些信息发到网上

from weixin-java-open-demo.

TonyLuo avatar TonyLuo commented on July 29, 2024

这个项目就是修改了对应的appid和redis的服务器地址,其他都没怎么改
@PostConstruct
public void init() {
WxOpenInRedisConfigStorage inRedisConfigStorage = new WxOpenInRedisConfigStorage(getJedisPool());
inRedisConfigStorage.setComponentAppId(wechatOpenProperties.getComponentAppId());
inRedisConfigStorage.setComponentAppSecret(wechatOpenProperties.getComponentSecret());
inRedisConfigStorage.setComponentToken(wechatOpenProperties.getComponentToken());
inRedisConfigStorage.setComponentAesKey(wechatOpenProperties.getComponentAesKey());
setWxOpenConfigStorage(inRedisConfigStorage);

from weixin-java-open-demo.

007gzs avatar 007gzs commented on July 29, 2024

授权回调内容是按照DEMO里的么

from weixin-java-open-demo.

007gzs avatar 007gzs commented on July 29, 2024

确认下 String out = wxOpenService.getWxOpenComponentService().route(inMessage); 这行是否正确执行

from weixin-java-open-demo.

TonyLuo avatar TonyLuo commented on July 29, 2024

多试几次又可以了。不知道是不是开放平台的问题

from weixin-java-open-demo.

ForeverIkaros avatar ForeverIkaros commented on July 29, 2024

发送事件消息进不去怎么破?

from weixin-java-open-demo.

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.