This commit is contained in:
2026-04-29 20:56:59 +08:00
parent fb6f455530
commit 730f485f48
200 changed files with 9881 additions and 2221 deletions

View File

@@ -1764,57 +1764,57 @@ pub fn runtime_profile_recharge_point_products() -> Vec<RuntimeProfileRechargePr
vec![
build_points_recharge_product(
"points_60",
"60叙世",
"60陶泥",
600,
60,
60,
"首充双倍",
"首充送60叙世",
"首充送60陶泥",
),
build_points_recharge_product(
"points_180",
"180叙世",
"180陶泥",
1800,
180,
180,
"首充双倍",
"首充送180叙世",
"首充送180陶泥",
),
build_points_recharge_product(
"points_300",
"300叙世",
"300陶泥",
3000,
300,
300,
"首充双倍",
"首充送300叙世",
"首充送300陶泥",
),
build_points_recharge_product(
"points_680",
"680叙世",
"680陶泥",
6800,
680,
680,
"首充双倍",
"首充送680叙世",
"首充送680陶泥",
),
build_points_recharge_product(
"points_1280",
"1280叙世",
"1280陶泥",
12800,
1280,
1280,
"首充双倍",
"首充送1280叙世",
"首充送1280陶泥",
),
build_points_recharge_product(
"points_3280",
"3280叙世",
"3280陶泥",
32800,
3280,
3280,
"首充双倍",
"首充送3280叙世",
"首充送3280陶泥",
),
]
}
@@ -1863,7 +1863,7 @@ pub fn runtime_profile_membership_benefits() -> Vec<RuntimeProfileMembershipBene
year_value: "¥248".to_string(),
},
RuntimeProfileMembershipBenefitSnapshot {
benefit_name: "叙世币回合数".to_string(),
benefit_name: "陶泥币回合数".to_string(),
normal_value: "30".to_string(),
month_value: "100".to_string(),
season_value: "100".to_string(),
@@ -2242,14 +2242,14 @@ mod tests {
assert_eq!(point_products.len(), 6);
assert_eq!(point_products[0].product_id, "points_60");
assert_eq!(point_products[0].title, "60叙世");
assert_eq!(point_products[0].title, "60陶泥");
assert_eq!(point_products[0].price_cents, 600);
assert_eq!(point_products[0].bonus_points, 60);
assert_eq!(point_products[0].description, "首充送60叙世");
assert_eq!(point_products[0].description, "首充送60陶泥");
assert_eq!(point_products[5].product_id, "points_3280");
assert_eq!(point_products[5].price_cents, 32800);
assert_eq!(point_products[5].bonus_points, 3280);
assert_eq!(point_products[5].description, "首充送3280叙世");
assert_eq!(point_products[5].description, "首充送3280陶泥");
assert_eq!(membership_products.len(), 3);
assert_eq!(membership_products[0].title, "月卡");
assert_eq!(membership_products[0].price_cents, 2800);
@@ -2259,7 +2259,7 @@ mod tests {
assert!(
benefits
.iter()
.any(|benefit| benefit.benefit_name == "叙世币回合数")
.any(|benefit| benefit.benefit_name == "陶泥币回合数")
);
}