+++
post:app/index.php?i=1&c=entry&ctrl=plateform&ac=auth&op=login&do=api&m=we7_wmall
*username=13453222285#登陆账号
*password=12345678#登陆密码
registration_id=abdjdkjdkjdkdjkd#极光推送的一个用户唯一标识
<<<
success
{
"message": {
"resultCode": 0,
"resultMessage": "调用成功",
"data": {
"uid": "1",
"groupid": "4",
"username": "admin", //用户名
"password": "b8ae8320fa6192d40ab1aac7c191272056055299",
"salt": "2b82020d",
"status": "2",
"joindate": "1383963422",
"joinip": "",
"lastvisit": "1528420735",
"lastip": "127.0.0.1",
"remark": "中华人民共和国万岁和国万岁和国万岁和国万岁和国万岁和国万岁",
"starttime": "1442389269",
"endtime": "1502985600",
"token": "k9Ya3wc2C9" //用户token(注意:此字段要用户极光推送的用户标签,并且其他接口请求的时候,需要提交此参数,用来识别用户身份)
"jpush_relation": { //极光推送的标签和别名
"alias": "yaavXwHwIhvmaVvuQ5Mn", //别名, 只有一个
"tags": [
"12345678" //标签,是一个数组, 可能有多个
]
}
}
}
}
<<<
error
{
"message": {
"resultCode": -1,
"resultMessage": "账号或密码错误",
"data": {
"resultCode" => ''
}
}
}
+++