weixin-java-mp-demo
weixin-java-mp-demo copied to clipboard
基于Spring Boot 和 WxJava 实现的微信公众号Java后端Demo,支持多公众号
需求1:将微信域名更换为网关地址 需求2:将原拼接好的url中access_token名称替换为business_token 作者您好,网关需要在请求url上拼接参数,名称为access_token,原微信的access_token参数名称更换为business_token,有好的解决方案吗?
我这边有个问题就是不同租户去token不一致,然后我图片的代码写有问题吗,现在发现只有一个租户可以推送
大佬,生产环境报这个错,不知道是哪出的问题,麻烦帮忙看下吧 java.lang.IllegalStateException: Connection pool shut down at org.apache.http.util.Asserts.check(Asserts.java:34) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.requestConnection(PoolingHttpClientConnectionManager.java:269) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:176) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at me.chanjar.weixin.common.util.http.apache.ApacheHttpClientSimpleGetRequestExecutor.execute(ApacheHttpClientSimpleGetRequestExecutor.java:39) at me.chanjar.weixin.common.util.http.apache.ApacheHttpClientSimpleGetRequestExecutor.execute(ApacheHttpClientSimpleGetRequestExecutor.java:19) at me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl.getOAuth2AccessToken(BaseWxMpServiceImpl.java:172)...
 
位置
请问可以通过微信公众号获取位置吗
以前我们扫码关注公众号后是直接推送二维码内容,现在需要在关注后先推送一条欢迎关注的信息,然后再推送二维码内容,这两条消息都需要在扫码关注事件中推送,但我看那个关注事件一次只能推送一条消息,这个时候应该怎么实现呢?
微信配置可否放到db中维护