diff --git a/app/validate/User.php b/app/validate/User.php index e4235d6..d2f0a0c 100644 --- a/app/validate/User.php +++ b/app/validate/User.php @@ -12,9 +12,8 @@ class User extends Validate 'nick_name|昵称' => 'max:100', 'avatar_url|头像' => 'max:250', 'gender|性别' => 'number', - 'lat|位置' => 'require|>:0', - 'lng|位置' => 'require|>:0', - +// 'lat|位置' => '>:0', +// 'lng|位置' => '>:0', ]; protected $message = [ 'lat.require' => '请授权位置信息',