更新参数
This commit is contained in:
parent
1843510e06
commit
2ec4cd262f
@ -49,7 +49,7 @@ class SetUserInfoValidate extends BaseValidate
|
||||
protected function checkField($value, $rule, $data)
|
||||
{
|
||||
$allowField = [
|
||||
'nickname', 'account', 'sex', 'avatar', 'real_name',
|
||||
'nickname', 'account', 'sex', 'avatar', 'real_name','id_card',
|
||||
];
|
||||
|
||||
if (!in_array($value, $allowField)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user