生成扫码授权链接
生成第三方平台的 PC 扫码授权链接,商家扫码后把自己的小程序授权给你,后续才能代他调用微信接口。
| 请求方式 | GET |
|---|---|
| 接口路径 | /api/wx/wxsmall/componentAuthUrl |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
curl 调用
curl -s 'https://www.8shu8.com/api/wx/wxsmall/componentAuthUrl' \ -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"key": "string"
}
}