配置多个公众号信息
wx:
mp:
useRedis: false
redisConfig:
host: 127.0.0.1
port: 6379
configs:
- appId: 第一个appId
secret: 第一个secret
token: 第一个token
aesKey: 第一个aesKey
- appId: 第二个appId
secret: 第二个secret
token: 第二个token
aesKey: 第二个aesKey
测试的时候
因为将两个公众号的服务器地址(URL)一个放到了线上一个用frp代理进行测试
然后就遇到了公众号appId和oppenId不匹配问题
第一个:
第二个:
问题解决
将两个服务器(URL)改为一个地址即可