mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	fix
This commit is contained in:
		| @@ -11,7 +11,7 @@ class UserUpdate extends FormRequest | ||||
|         'password' => 'nullable', | ||||
|         'transfer_enable' => 'numeric', | ||||
|         'expired_at' => 'integer', | ||||
|         'enable' => 'required|in:0,1', | ||||
|         'banned' => 'required|in:0,1', | ||||
|         'plan_id' => 'nullable|integer', | ||||
|         'commission_rate' => 'nullable|integer|min:0|max:100', | ||||
|         'discount' => 'nullable|integer|min:0|max:100', | ||||
| @@ -38,8 +38,8 @@ class UserUpdate extends FormRequest | ||||
|             'email.email' => '邮箱格式不正确', | ||||
|             'transfer_enable.numeric' => '流量格式不正确', | ||||
|             'expired_at.integer' => '到期时间格式不正确', | ||||
|             'enable.required' => '账户状态不能为空', | ||||
|             'enable.in' => '账户状态格式不正确', | ||||
|             'banned.required' => '是否封禁不能为空', | ||||
|             'banned.in' => '是否封禁格式不正确', | ||||
|             'is_admin.required' => '是否管理员不能为空', | ||||
|             'is_admin.in' => '是否管理员格式不正确', | ||||
|             'plan_id.integer' => '订阅计划格式不正确', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user