Commit 6ef42b89 by 冷斌

fix bug

parent 67008030
...@@ -2402,13 +2402,8 @@ class Api_User extends PhalApi_Api ...@@ -2402,13 +2402,8 @@ class Api_User extends PhalApi_Api
$rs['msg'] = '密码不能纯数字或纯字母'; $rs['msg'] = '密码不能纯数字或纯字母';
return $rs; return $rs;
} }
$aa=DI()->notorm->users
->select("user_pass") DI()->notorm->users->where("id={$uid}")->update([
->where('id=?',$uid)
->fetchOne();
var_dump($aa);
die;
DI()->notorm->users->where("uid={$uid}")->update([
'user_pass2' => setPass($user_pass), 'user_pass2' => setPass($user_pass),
]); ]);
......
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