This commit is contained in:
尹吉欢
2018-04-09 10:50:12 +08:00
parent 6f70e1de86
commit 94d41743c0
3 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -70,8 +70,9 @@ $("#login_btn").on("click", function () {
$.toast("请同意服务协议");
return false;
}
axios.post("/rest/user/smsLogin", {mobile: phoneNum,smsCode:code})
.then(function (response) {
axios.post("/rest/user/smsLogin",
{mobile: phoneNum,smsCode:code,province:province,city:city,region:region,pushClientId:getPushInfo(),deviceId:plus.device.uuid}
).then(function (response) {
var resData = response.data;
if (resData.status) {
// 用户登录成功的TOKEN