feat: 自动通知-支付成功+到期前7天提醒+已过期通知

This commit is contained in:
2026-05-26 15:28:11 +08:00
parent e89307c7a2
commit 667231520d
2 changed files with 116 additions and 0 deletions

View File

@@ -267,6 +267,10 @@ async fn main() -> std::io::Result<()> {
}
Err(e) => tracing::warn!("[定时任务] 扫描待支付订单失败: {}", e),
}
// 会员到期提醒
let _ = db::check_member_expiry_soon(&pool_clone).await;
let _ = db::check_member_expired(&pool_clone).await;
}
});