1. 单点登录接口(APP集成)接口
接口名称 | 单点登录接口(APP集成) |
---|---|
功能描述 | 单点登录接口(APP集成) |
请求地址 | http://qy-ci.fdccloud.com/api/wzs/get-third-user?access_token=@access_token |
请求方式 | POST(HTTPS) |
请求包结构
{
"app_code": "8001",
"device_id": "@device_id",
"device_token": "@device_token",
"platform": "@platform ",
"version_name": "3.1.5",
"device_name": "iPhone4s ",
"model": "iPhone10,1",
"brand": "huawei",
"os_version": "7.0.1 ",
"push_channel": 1,
"__language__":"zh-CN",
}
参数说明
参数 | 中文名 | 参数类型 | 说明 |
---|---|---|---|
app_code | 应用标识 | String | 8001,8002,... |
返回结果
{
"success": 1,
"data": {
"code": 1,
"message": "",
"user": {
"user_code": " @user_code ",
"tenant_code": "@tenant_code",
"agent_id": "@应用标识",
"customer_id": "@ customer_id",
"login_token": "@login_token",
"timestamp": "@timestamp"
}
}
}
参数说明
参数 | 中文名 | 参数类型 | 说明 |
---|---|---|---|
login_token | 登录token | String | Token为加密信息,内容包括” user_code,tenant_code,agent_id,和当前时间戳(精确到秒)” |
tenant_code | 第三方租户code | String | |
user_code | 第三方user_code | String | |
agent_id | 第三方应用code | int | |
customer_id | 云助手租户合同id | String | |
timestamp | 时间戳 | String | 当前时间戳 |