<?php
namespace app\admin\validate\sms;

use think\Validate;

class VerificationCodeValidate extends Validate
{
    protected $rule =   [
        'mobile'  => 'require|mobile',
    ];

    protected $message  =   [
        'mobile.require' => '手机号不能为空',
        'mobile.mobile'  => '手机号格式不正确',
    ];
}
