后台_用户接口 - SilentJhin/mmall GitHub Wiki

1.后台管理员登录

/manage/user/login.do

request

String username,
String password

response success

{
    "status": 0,
    "data": {
        "id": 12,
        "username": "aaa",
        "email": "[email protected]",
        "phone": null,
        "role": 0,
        "createTime": 1479048325000,
        "updateTime": 1479048325000
    }
}

fail

{
    "status": 1,
    "msg": "不是管理员,无法登录"
}