袁野 3 months ago
parent 5fea0ba7e2
commit b7ff2bf82a
  1. 4
      cweb/src/main/java/com/cweb/controller/qianZhu/CinemaController.java

@ -364,7 +364,7 @@ public class CinemaController {
if (areaPrices != null) { if (areaPrices != null) {
String[] areaName = new String[]{"特价" , "优选" , "最佳"}; String[] areaName = new String[]{"特价" , "优选" , "最佳" , "中心" , "" , ""};
for (int i = 0; i < areaPrices.size(); i++) { for (int i = 0; i < areaPrices.size(); i++) {
JSONObject priceObject = (JSONObject) areaPrices.get(i); JSONObject priceObject = (JSONObject) areaPrices.get(i);
@ -374,7 +374,9 @@ public class CinemaController {
} else { } else {
priceObject.put("salePrice" , priceObject.getBigDecimal("price")); priceObject.put("salePrice" , priceObject.getBigDecimal("price"));
} }
priceObject.put("areaName" , areaName[i]); priceObject.put("areaName" , areaName[i]);
} }
} }

Loading…
Cancel
Save