mirror of
https://gitee.com/ctexthuang/hyperf_rbac_framework_server_ctexthuang.git
synced 2025-12-25 15:57:50 +08:00
fix : first finish
This commit is contained in:
@@ -34,7 +34,7 @@ class AdminUserRequest extends FormRequest
|
||||
'remark' => 'sometimes|string|max:255',
|
||||
'password' => 'sometimes|string|min:6|max:20',
|
||||
'role_codes' => 'required|array',
|
||||
'role_codes.*' => 'string|exists:role,code',
|
||||
'role_codes.*' => 'string|exists:admin_role,code',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user