open appId在获取票据,令牌都可以。但是在用户授权完调绑定第三方接口时报 40223?
发布于 5 年前 作者 jiamin 13639 次浏览 来自 官方Issues
getUrl="https://api.weixin.qq.com/cgi-bin/open/bind?access_token="

getUrl = WxMiniConfig.BIND_PLATFORM+authorizer_access_token;
object = new HashMap<>();
object.put("appid", authorizer_appid);
object.put("open_appid", wxPlatformAppid);
result = httpsRequest.doPost(getUrl, JSON.toJSONString(object))
authorizer_appid和authorizer_access_token是授权之后获取的数据

返回的data:

open_appId:wxeb0fe05c5b11cab8
1 回复

你好,经核实,填写的"appid":“wxe2f5a53dd0d1ffe6"与"open_appid”:"wxeb0fe05c5b11cab8"两者主体不同哦,接口文档中有说明https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/account/bind.html

回到顶部