DESKTOP-2STQMTS\Administrator 3 years ago
parent
commit
19660f460c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Api/UserController.php

+ 1 - 1
app/Http/Controllers/Api/UserController.php

@@ -207,7 +207,7 @@ class UserController extends FrontController
             return $this->apiResponseError('手机号格式错误');
         }
 
-        $info = WxUser::where('phone', $phone)->select(['id'])->first();
+        $info = WxSignup::where('phone', $phone)->select(['id'])->first();
         if ($info) {
             return $this->apiResponseError( '该号码已提交');
         }