更新参数

This commit is contained in:
mkm 2023-08-11 10:43:12 +08:00
parent 1843510e06
commit 2ec4cd262f

View File

@ -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)) {