Token自动刷新机制:QueuedInterceptor实现无感刷新,只有彻底过期才跳转登录
This commit is contained in:
@@ -33,6 +33,9 @@ class ApiEndpoints {
|
||||
/// 退出登錄
|
||||
static const String logout = '/api/user/logout';
|
||||
|
||||
/// 刷新 Token(後端尚未實現,預留接口)
|
||||
static const String tokenRefresh = '/api/auth/refresh';
|
||||
|
||||
// ==================== 行情模塊 ====================
|
||||
|
||||
/// 獲取幣種列表
|
||||
|
||||
Reference in New Issue
Block a user