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.
19 lines
312 B
19 lines
312 B
4 years ago
|
<?php
|
||
|
|
||
|
namespace app\oa\validate;
|
||
|
use think\Validate;
|
||
|
/**
|
||
|
* 设置模型
|
||
|
*/
|
||
|
class OaExamineCategory extends Validate{
|
||
|
|
||
|
protected $rule = [
|
||
|
'title' => 'require',
|
||
|
];
|
||
|
protected $message = [
|
||
|
'title.require' => '审批名称必须填写',
|
||
|
];
|
||
|
protected $scene = [
|
||
|
'edit' => [],
|
||
|
];
|
||
|
}
|