Merge pull request '添加用户bug修改' (#321) from hotfix/change_bug into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/321
master
廖金灵 4 years ago
commit 39160f54fe

@ -293,7 +293,7 @@ class UserController extends AdminController
$moblieUser = SM('UcenterMember', 'sys_')->field('id')->where(['mobile' => $_POST['mobile']])->find();
if (!empty($moblieUser)) {
if (!empty($moblieUser)&&$_POST['mobile']) {
$this->error('手机号码已存在!');
}

Loading…
Cancel
Save