Explorar el Código

增加正则提示

sandm hace 2 años
padre
commit
84eb1a89a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Validators/Rules/UsernameRule.php

+ 1 - 1
app/Validators/Rules/UsernameRule.php

@@ -39,6 +39,6 @@ class UsernameRule implements Rule
      */
     public function message()
     {
-        return '字母开头,包含6位以上数字、字母及大小写';
+        return '用户名需以字母开头,包含6位以上数字、字母及大小写';
     }
 }