<?php
namespace app\validate;
use think\Validate;
class Model extends Validate
{
protected $rule = [
'name' => 'require',
'manager' => 'require',
];
protected $message = [
'name.require' => '名称必须',
'manager.require' => '后台管理必须'
}