data_center/app/common/validate/login/TokenValidate.php

18 lines
356 B
PHP

<?php
namespace app\common\validate\login;
use app\common\validate\BaseValidate;
class TokenValidate extends BaseValidate
{
protected $rule = [
'token' => 'require',
'uid' => 'require',
];
protected $message = [
'token.require' => '缺少必要参数token',
'uid.require' => '缺少必要参数uid',
];
}