Commit 512959bb by 冷斌

fix bug

parent f10c7414
......@@ -2266,7 +2266,7 @@ class Api_User extends PhalApi_Api
$rs['msg'] = '您的登陆状态失效,请重新登陆!';
return $rs;
}
$user = DI()->notorm->users->where("uid={$uid}")->fetchOne();
$user = DI()->notorm->users->where("id={$uid}")->fetchOne();
if ($user['user_pass2'] != setPass($user_pass)) {
$rs['code'] = 10001;
$rs['msg'] = '密码错误';
......
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