1234567891011121314151617181920212223 |
- <?php
- /**
- * @copyright Copyright (c) 2021 勾股工作室
- * @license https://opensource.org/licenses/Apache-2.0
- * @link https://www.gougucms.com
- */
- namespace app\acctconnect\validate;
- use think\Validate;
- class UserCheck extends Validate
- {
- protected $rule = [
- 'username' => 'require',
- 'pwd' => 'require',
- ];
- protected $message = [
- 'username.require' => '用户名不能为空',
- 'password.require' => '密码不能为空',
- ];
- }
|