登录

接口地址:/cbasic/login

请求方式 post

参数:

  • phone 手机号(用户名)

  • passwd 密码/验证码

  • type 类型 1-密码登录 2-验证码登录

返回格式:

{
    "code": 1,
    "data": {
        "user_type": "0-普通用户, 1-发布者",
        "status": "审核状态 0未提交审核,1审核中, 2审核通过,3审核不通过",
        "token": "xxxxxxx",
        "need_supply": "1 #0-不需要补全, 1-需要补全",
        "nickname": "昵称",
        "avatar": "头像地址"
    },
    "msg": "success"
}

Last updated

Was this helpful?