登录验证
接口调用请求说明
http请求方式:POST
https://api.weixin.qq.com/product/service/check_auth?component_access_token=xxxxxxxxx
请求参数示例
{
"code": "324545"
}
回包示例
{
"errcode": 0,
"errmsg":"ok",
"data":
{
"appid": "wx666666666",
"service_id": 123
}
}
请求参数说明
参数 | 类型 | 是否必填 | 说明 |
---|---|---|---|
code | string | 是 | 跳转码(小商店服务市场跳转到第三方url里面会带上code) |
回包参数说明
参数 | 类型 | 说明 |
---|---|---|
errcode | number | 错误码 |
errmsg | string | 错误信息 |
data.appid | string | 小程序ID |
data.service_id | number | 服务ID |
返回码
返回码 | 错误类型 |
---|---|
-1 | 系统异常 |
-2 | token太长 |
1 | code过期或不存在 |