|
|
@@ -78,7 +78,7 @@ class UserController extends BaseController
|
|
|
public function actionAdd()
|
|
|
{
|
|
|
$post = Yii::$app->request->post();
|
|
|
- if (isset($post['mobile']) == false || stringUtil::isMobile($post['mobile'])) {
|
|
|
+ if (isset($post['mobile']) == false || stringUtil::isMobile($post['mobile']) == false) {
|
|
|
util::fail('请输入手机号');
|
|
|
}
|
|
|
if ($post['mobile'] != $post['confirmMobile']) {
|