1
This commit is contained in:
@@ -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 == "免陶泥币回合数")
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user