简要描述:
-子平台-平台登录
请求域名:
- http://xx.com
请求URL:
plugin.sub-platform.frontend.index.login-platform
请求参数说明:
参数名 | 类型 | 是否必需 | 说明 |
---|---|---|---|
platform | string | 是 | 平台key |
uid | string | 否 | 多个身份的平台另传一个身份id用于区分登录哪个 |
返回示例:
正确时返回:
{
result: 1,
msg: "ok",
data: {
redirect_url: "https://dev15.yunzmall.com/business/business_font/#/business/index?i=25"
}
}
错误时返回:
{
"result": 0,
"msg": "请登录",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
redirect_url | string | 跳转链接,登录成功后返回,新建一个窗口跳转 |