同样的代码
使用开发版没有此问题
使用体验版就出错
开发环境不校验请求域名及 TLS 版本 勾选不勾选是一样的
我只是调用微信的接口而已,怎么也会出现此问题?
两个接口地址:
openIdUrl: `https://api.weixin.qq.com/sns/jscode2session`
accessTokenUrl : 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=' + appid + '&secret=' + AppSecret;
非常感谢!
https://developers.weixin.qq.com/blogdetail?action=get_post_info&docid=bef0a06f577032d71cc8ae1dbe235042&highline=api&token=320144636&lang=zh_CN
必须使用在小程序里调用PHP、NodeJS等后台吗?
为什么不能直接调用呢?我开发版没有问题的
能否提供文档?我没有看到相关的文档
这个接口小程序端是不能调用的,只能后台调用
使用的是腾讯云提供的小程序解决方案
所有服务(https、微信验证)等都是ok的