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.

21 lines
385 B

<?php
namespace app\oa\validate;
use think\Validate;
/**
* 设置模型
*/
class OaLog extends Validate{
protected $rule = [
//'title' => 'require',
'content' => 'require',
];
protected $message = [
//'title.require' => '日志标题必须填写',
'content.require' => '日志内容必须填写',
];
protected $scene = [
'edit' => [],
];
}