This commit is contained in:
@@ -27,7 +27,7 @@ interface ResponseStructure {
|
||||
// "刷新令牌已过期", // 使用刷新令牌,刷新获取新的访问令牌时,结果因为过期失败,此时需要忽略。否则,会导致继续 401,无法跳转到登出界面
|
||||
// ];
|
||||
|
||||
import { EventEmitter } from 'node:events';
|
||||
import { EventEmitter } from 'events';
|
||||
export const requestEventBus = new EventEmitter();
|
||||
// const errorCode: { [key: string]: string } = {
|
||||
// "400": "请求参数不正确",
|
||||
|
||||
Reference in New Issue
Block a user