weixin-java-open-demo icon indicating copy to clipboard operation
weixin-java-open-demo copied to clipboard

微信开放平台的java后端 demo

Results 11 weixin-java-open-demo issues
Sort by recently updated
recently updated
newest added

用 wxOpenService.getWxOpenComponentService().getQueryAuth(authorizationCode),报错{"errcode":61011,"errmsg":"invalid component rid: 62f6218c-6dcb5b1a-557e13b7"}

WxMaService maService = new WxMaServiceImpl(); maService.setMultiConfigs( configs.stream() .map(a -> { // WxMaDefaultConfigImpl config = new WxMaDefaultConfigImpl(); WxMaDefaultConfigImpl config = new WxMaRedissonConfigImpl(redissonClient); // WxMaDefaultConfigImpl config = new WxMaRedisConfigImpl(new JedisPool()); // 使用上面的配置时,需要同时引入jedis-lock的依赖,否则会报类无法找到的异常...

![image](https://user-images.githubusercontent.com/40060109/140867730-03aa0142-c2c4-49c9-b93d-c294cc9b451a.png) 新版的getJedisPool不适用当前版本(5.2.0)

在请求API_CODE_COMMIT的时候报Read timed out但是去获取体验版二维码是正常的,所有代码应该是上传成功的,请问在哪里可以设置http请求超时时间

官方文档中,开放平台获取网页授权二维码的路由为: https://open.weixin.qq.com/connect/qrconnect?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect 实际Open包中封装的路由为:CONNECT_OAUTH2_AUTHORIZE_URL("https://open.weixin.qq.com", "/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=%s&state=%s&connect_redirect=1#wechat_redirect"); 该陆游实际是公众号网页授权获取二维码的路由地址。

org.xml.sax.SAXParseException: 前言中不允许有内容。

WxMpService mpService = this.wxOpenServiceDemo.getWxOpenComponentService().getWxMpServiceByAppid(appId); try { WxJsapiSignature jsapiSignature = mpService.createJsapiSignature(url); return ResponseUtil.buildSuccess(jsapiSignature); } catch (WxErrorException e) { e.printStackTrace(); } Caused by: java.lang.AbstractMethodError: me.chanjar.weixin.open.api.impl.WxOpenInMemoryConfigStorage$WxOpenInnerConfigStorage.getTicketLock(Lme/chanjar/weixin/mp/enums/TicketType;)Ljava/util/concurrent/locks/Lock; at me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl.getTicket(BaseWxMpServiceImpl.java:95) at me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl.getJsapiTicket(BaseWxMpServiceImpl.java:124) at me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl.createJsapiSignature(BaseWxMpServiceImpl.java:131) at...

想问一下opne如何将获取到的代accessToken传递到mp实现业务