fix: 套餐定价更新+新增季卡/半年卡+SQL interval适配

This commit is contained in:
2026-05-26 15:44:50 +08:00
parent 87b17ad09e
commit 55259a96a6
2 changed files with 19 additions and 11 deletions

View File

@@ -530,6 +530,8 @@ async fn insert_payment_notification(pool: &PgPool, user_id: i32, order_no: &str
let pkg_label = match pkg_type.as_str() {
"monthly" => "包月会员",
"quarterly" => "季卡会员",
"half_year" => "半年会员",
"yearly" => "包年会员",
"permanent" => "永久会员",
_ => "会员",