fix: 后台定时清理refresh_token+清理payment.rs死代码
This commit is contained in:
@@ -270,6 +270,9 @@ async fn main() -> std::io::Result<()> {
|
||||
|
||||
// 会员到期前 7 天提醒
|
||||
let _ = db::check_member_expiry_soon(&pool_clone).await;
|
||||
|
||||
// 清理过期的 refresh_token
|
||||
let _ = db::cleanup_expired_refresh_tokens(&pool_clone).await;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user