28 lines
349 B
PHP
28 lines
349 B
PHP
|
<?php
|
||
|
|
||
|
namespace app\admin\validate;
|
||
|
|
||
|
use think\Validate;
|
||
|
|
||
|
class Category extends Validate
|
||
|
{
|
||
|
/**
|
||
|
* 验证规则
|
||
|
*/
|
||
|
protected $rule = [
|
||
|
];
|
||
|
/**
|
||
|
* 提示消息
|
||
|
*/
|
||
|
protected $message = [
|
||
|
];
|
||
|
/**
|
||
|
* 验证场景
|
||
|
*/
|
||
|
protected $scene = [
|
||
|
'add' => [],
|
||
|
'edit' => [],
|
||
|
];
|
||
|
|
||
|
}
|