<?php

namespace app\validate;

use think\Validate;

class UserLogin extends Validate
{
    protected $rule =   [
        'rybh'  => 'require',
        'kl'   => 'number',

    ];

    protected $message  =   [
        'rybh.require' => '登录名称不能为空',
        'kl.require'     => '登录密码不能为空',

    ];
}