fix: 后台定时清理refresh_token+清理payment.rs死代码

This commit is contained in:
2026-06-05 22:35:02 +08:00
parent 955e8d9501
commit f8bee8f8b4
3 changed files with 3 additions and 22 deletions

View File

@@ -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;
}
});