|
<?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',
|
|
];
|
|
} |