DESKTOP-2STQMTS\Administrator 3 rokov pred
rodič
commit
19660f460c

+ 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( '该号码已提交');
         }