Commit 26d0eeab by 冷斌

fix bug

parent 33e0d81c
......@@ -2328,12 +2328,12 @@ class Api_User extends PhalApi_Api
return $rs;
}
// $limit = ip_limit();
// if ($limit == 1) {
// $rs['code'] = 1003;
// $rs['msg'] = '您已当日发送次数过多';
// return $rs;
// }
$limit = ip_limit();
if ($limit == 1) {
$rs['code'] = 1003;
$rs['msg'] = '您已当日发送次数过多';
return $rs;
}
$user = DI()->notorm->users->where("id={$uid}")->fetchOne();
if (!empty($user['user_pass2']) && $user['user_pass_mobile'] != $mobile) {
......
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