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]); + } }