You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
349 B
28 lines
349 B
2 months ago
|
<?php
|
||
|
|
||
|
namespace app\admin\validate;
|
||
|
|
||
|
use think\Validate;
|
||
|
|
||
|
class UserRule extends Validate
|
||
|
{
|
||
|
/**
|
||
|
* 验证规则
|
||
|
*/
|
||
|
protected $rule = [
|
||
|
];
|
||
|
/**
|
||
|
* 提示消息
|
||
|
*/
|
||
|
protected $message = [
|
||
|
];
|
||
|
/**
|
||
|
* 验证场景
|
||
|
*/
|
||
|
protected $scene = [
|
||
|
'add' => [],
|
||
|
'edit' => [],
|
||
|
];
|
||
|
|
||
|
}
|