Commit 364bbb01 by 冷斌

设置

parent c6f78591
...@@ -33,7 +33,12 @@ ...@@ -33,7 +33,12 @@
ui.error('新密码为6-15个字符'); ui.error('新密码为6-15个字符');
return false; return false;
} }
$.post(U('basic/Account/doModifyPassword'), pwddata, function(data){ let _this = this;
$.post("U('basic/Account/doModifyPassword')", {
oldpassword: _this.old,
password: _this.newPwd,
repassword: _this.rePwd
}, function(data){
if(data.status){ if(data.status){
ui.success(data.info); ui.success(data.info);
setTimeout(function(){ setTimeout(function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment