用appid和secret换取accesstoken,给我报这个错?
reqUrl = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=' + appid + '&secret=' + secret;
response:

吹的天然协议鉴权的节操在哪里?

微信小程序开发问题解答
微信小程序开发者回答:
检查了下还真是拿公众号的appid当成微信小程序的使,尴尬
微信小程序开发者回答:
是不是微信小程序的appid ???是的话 是可以获取 acc token
公众号的是要设置白名单的
本文网址:http://www.91bianli.com/weixinxiaochengxu/42638.html