master
wangxinglong 2022-05-13 15:33:43 +08:00
parent 842fe35054
commit 67bf3e1b0d
1 changed files with 2 additions and 3 deletions

View File

@ -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' => '请授权位置信息',