<?php namespace app\common\validate; use think\Validate; use think\Db; class UserHistory extends Validate{ protected $rule =[ 'title' => 'require', ]; protected $message = [ ]; protected $scene = [ ]; }