采购商城接入第三方商家免密登录
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| user_id | String | 必须 | 10001 | 采购商城具体某个用户 | |
| out_app_code | String | 必须 | 0001 | 外部平台的唯一标识 | |
| out_account | String | 可选 | test | 外部平台账号 | |
| out_password | String | 可选 | test | 外部平台密码 | |
| redirect_url | String | 可选 | https:// | 免登成功后跳转地址 | |
| out_access_token | String | 可选 | 128234720572 | token,票据 | |
| user_name | String | 可选 | 张三 | 用户姓名 | |
| user_email | String | 可选 | 123@alibaba-inc.com | 用户邮箱 | |
| org_code | String | 可选 | 1249 | 部门组织编码 | |
| org_name | String | 可选 | 阿里巴巴 | 部门组织名称 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| error_message | String | 参数错误 | 失败信息详情 |
| data | String | https:// | 免登URL |
| error_code | String | 0000 | 失败信息代码 |
| success | Boolean | true | 是否成功 |
{"out_app_code":"0001","user_email":"123@alibaba-inc.com","out_account":"test","user_id":"10001","user_name":"张三","out_access_token":"128234720572","org_name":"阿里巴巴","org_code":"1249","out_password":"test","redirect_url":"https://"}
{
"error_message":"参数错误",
"data":"https:\/\/",
"error_code":"0000",
"success":true
}
{"error_message":"sign-check-failure","success":"false","error_code":"Illegal request"}
| 错误码 | 错误描述 | 解决方案 |
|---|