Browse Source

调整排序

kphcdr 1 year ago
parent
commit
131f72b1fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Modules/Mini/Controllers/AuthController.php

+ 1 - 1
app/Modules/Mini/Controllers/AuthController.php

@@ -119,7 +119,7 @@ class AuthController extends BaseController
     {
     {
         $params = $this->valid([
         $params = $this->valid([
             "email" => "required|email",
             "email" => "required|email",
-            "phone" => ["required", new Phone()],
+            "phone" => new Phone(),
             "password" => "required",
             "password" => "required",
             "captcha" => "required",
             "captcha" => "required",
         ]);
         ]);