diff --git a/app/validate/User.php b/app/validate/User.php index 6654fde..30ad557 100755 --- a/app/validate/User.php +++ b/app/validate/User.php @@ -11,8 +11,8 @@ class User extends Validate 'password|密码' => 'require|min:4|max:16', 'code|小程序code' => 'require', - 'nickname|昵称' => 'max:100', - 'headimgurl|头像' => 'max:300', + 'nickname|昵称' => 'require|max:100', + 'headimgurl|头像' => 'require|max:300', 'country|国家' => 'max:100', 'province|省份' => 'max:100', 'city|城市' => 'max:100',