<?php

namespace app\common\validate;

use think\Validate;

class Broker extends Validate
{
    protected $rule = [
        'mobile'		=>  'require|mobile|unique:broker'
    ];
	
	protected $message  =   [
        'mobile.require'	=> '手机号不能为空',
		'mobile.mobile'		=> '手机号格式不正确',
        'mobile.unique'		=> '手机号不能重复'
    ];

}