<?php

namespace app\admin\validate;

use think\Validate;

class Notice extends Validate {

    protected $rule = [
        'title' => 'require',
        'content' => 'require'
    ];
    protected $message = [
        'title.require' => '标题必需填写!',
        'content.max' => '内容必需填写!',
    ];

}
