| 12345678910111213141516171819202122232425 |
- <?php
- namespace app\validate\admin\user;
- use app\entity\admin\request\user\ZeroUserRequestEntity;
- use app\validate\CommonValidate;
- class ZeroUserListValidate extends CommonValidate
- {
- protected $failException = true;
- protected $rule = [
- 'status|状态' => 'integer',
- 'team_name|团队昵称' => 'max:20',
- 'account|账号' => 'max:20',
- 'page|页码' => 'integer|min:1',
- 'limit|每页数量' => 'integer|min:1|max:100',
- ];
- protected $message = [
- 'status.integer' => '非法状态',
- 'team_uid.integer' => '非法团队长uid',
- ];
- }
|