简要描述:
- 用户登录接口
请求域名:
- http://yunzshop.com
请求URL:
POST:https://dev1.yunzmall.com/addons/yun_shop/api.php?i=5&type=9&shop_id=null&route=member.login.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
type | 是 | string | 默认值:9 |
mobile | 是 | string | 手机号 |
password | 是 | string | 密码 |
返回示例:
正确时返回:
{
"result": 1,
"msg": null,
"data": {
"token": "05CF2CCE6BC6F1EA123B10DA2D5B88EB",
"url":""
}
}
错误时返回:
{
"result": 0,
"msg": "手机号或密码错误",
"data": {}
}
{
"result": 0,
"msg": "用户不存在",
"data": {}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
result | int | 登录状态0-失败;1-成功 |
token | int | 标识 |
备注:
- 更多返回错误代码请看首页的错误代码描述