<?php

namespace app\validate\system;

use think\Validate;

class UserValidate extends Validate
{

    protected $rule = [
        "username"      => "require",
        "password"      => "require",
        "salt"          => "require",
    ];


    protected $message = [
        "username.require"      => "请输入登录账号",
        "password.require"      => "请输入密码",
        "salt.require"          => "数据加密失败",
    ];

    protected $scene = [

    ];

}