uniapp App微信登录授权,返回:{ “errMsg“: “login:fail invalid appsecret, rid: xxx-xxx-xxx“
uniapp App微信登录授权,返回:"errMsg": "login:fail invalid appsecret, rid;"errCode": -100, "code": -100,"innerCode": 40125的原因
·
uniapp App微信登录授权,返回
{
"errMsg": "login:fail invalid appsecret, rid: xxx-xxx-xxx",
"errCode": -100,
"code": -100,
"innerCode": 40125
}
的原因是:
在Hbuilder以前的版本里,做微信授权登录需要配置:appid以及appsecret;但是在HBuilderX3.4.18+ 不再提供此参数的可视化配置;所以需要在manifest.json-源码视图中设置微信开放平台App应用获得的密钥,再进行打包就可以了。

更多推荐




所有评论(0)