<?php
/**
* @author 龙虾 <15108148@qq.com>
* @version 2.0 2020-08-06
* @copyright 睿谷信息 <www.rgxx.com>
*/
namespace app\admin\validate;
use think\Validate;

class Sitekey extends Validate
{
	
	protected $rule = [
		'name|关键词'         => 'require|unique:sitekey,site_id^name|min:2',
		'torder|排序'          => '>:0|integer',
		'link|链接'           => 'url'
	];
}