更新时间:2025-11-13 GMT+08:00

二维码授权完成后回调接口

接口功能

用户使用微信二维码扫描后,单击“授权”,成功授权后,微信平台通过该接口进行回调。

使用说明

系统内部实现,专供微信平台调用,无需单独配置。

接口鉴权

请参考https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/creat_token.html。

接口原型

表1 接口原型说明

请求方法

POST

请求URL

https://ip:port/social/with/wechat/wechatAuthCallBack

其中,ip:port为对外暴露的nslb的ip和port。

请求参数

请参见https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/Authorization_Process_Technical_Description.html。

响应参数

请参见https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/Authorization_Process_Technical_Description.html。

接口示例

请参见https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/Authorization_Process_Technical_Description.html。