获取免登录token
测试环境
https://gldopenapi.keruyun.com
测试环境
https://gldopenapi.keruyun.com
POST
/open/v1/crm/autoLogin
使用方法
获取到token后,将token作为参数,访问目标页面
https://citestweixin.shishike.com/platform/partner/autologin?shopId=247900001&mobile=15198098980&token=xxxxxxx&redirect=https%3A%2F%2Fcitestweixin.shishike.com%2Fmember%2Findex%3FshopId%3D810094162
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/crm/autoLogin?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "15911011011"
}'
响应示例响应示例
{
"code": 0,
"result": {
"token": "string"
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
shopIdenty
string
必需
默认值:
{{shopIdenty}}
brandId
string
必需
默认值:
{{brandId}}
version
string
必需
默认值:
2.0
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json