From b7ff2bf82a0f6b98af4e72903902491beb1cc2bc Mon Sep 17 00:00:00 2001 From: yuanye <418471657@qq.com> Date: Mon, 19 Aug 2024 14:43:12 +0800 Subject: [PATCH] / --- .../java/com/cweb/controller/qianZhu/CinemaController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cweb/src/main/java/com/cweb/controller/qianZhu/CinemaController.java b/cweb/src/main/java/com/cweb/controller/qianZhu/CinemaController.java index 4fb0575..0436e77 100644 --- a/cweb/src/main/java/com/cweb/controller/qianZhu/CinemaController.java +++ b/cweb/src/main/java/com/cweb/controller/qianZhu/CinemaController.java @@ -364,7 +364,7 @@ public class CinemaController { if (areaPrices != null) { - String[] areaName = new String[]{"特价" , "优选" , "最佳"}; + String[] areaName = new String[]{"特价" , "优选" , "最佳" , "中心" , "" , ""}; for (int i = 0; i < areaPrices.size(); i++) { JSONObject priceObject = (JSONObject) areaPrices.get(i); @@ -374,7 +374,9 @@ public class CinemaController { } else { priceObject.put("salePrice" , priceObject.getBigDecimal("price")); } + priceObject.put("areaName" , areaName[i]); + } }