瀏覽代碼

调整排序

kphcdr 1 年之前
父節點
當前提交
131f72b1fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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([
             "email" => "required|email",
-            "phone" => ["required", new Phone()],
+            "phone" => new Phone(),
             "password" => "required",
             "captcha" => "required",
         ]);