禁止修改请联系客服

master
tping 3 years ago
parent f2a26fb810
commit 670eef1f19

@ -2435,7 +2435,7 @@ class UserController extends BaseController
}
$userinfo = M('User', 'tab_')->where(['id' => $user['user_id']])->find();
if(!empty($userinfo['idcard'])) {
$this -> set_message(1086, "fail", "不允许修改");
$this -> set_message(1086, "fail", "禁止修改请联系客服");
}
if(!empty($userinfo['idcard']) && is_adult($userinfo['idcard']) && !is_adult($user['idcard'])) {
$this -> set_message(1086, "fail", "您的账户已经是成年账户,不能再修改成为未成年账户");

Loading…
Cancel
Save