Commit 6ef42b89 by 冷斌

fix bug

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