add
This commit is contained in:
16
app/common/library/token/TokenExpirationException.php
Normal file
16
app/common/library/token/TokenExpirationException.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\library\token;
|
||||
|
||||
use think\Exception;
|
||||
|
||||
/**
|
||||
* Token过期异常
|
||||
*/
|
||||
class TokenExpirationException extends Exception
|
||||
{
|
||||
public function __construct(protected $message = '', protected $code = 409, protected $data = [])
|
||||
{
|
||||
parent::__construct($message, $code);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user