<?php

namespace app\common\validate;


use think\Validate;

/**
 
 * 
 
 * 
 * ----------------------------------------------------------------------------
 * 
 
 * 验证器
 */
class  Notice extends Validate
{
    protected $rule = [
        'user_name' => 'require',
        'content1' => 'require'
    ];
    protected $message = [
        'user_name.require' => '会员列表不能为空',
        'content1.require' => '通知内容不能为空'
    ];
    protected $scene = [
        'notice1' => ['user_name'],
        'notice2' => ['content1'],
    ];
}
