|
@@ -109,7 +109,7 @@ public class CmPageCentreController extends BaseController {
|
|
addMessage(redirectAttributes, "保存成功");
|
|
addMessage(redirectAttributes, "保存成功");
|
|
if ("5".equals(cmPageCentre.getType())) {
|
|
if ("5".equals(cmPageCentre.getType())) {
|
|
//清除产品仪器缓存
|
|
//清除产品仪器缓存
|
|
- redisService.removePattern("instrumentData*");
|
|
|
|
|
|
+ redisService.removePattern("instrumentData*");redisService.removePattern("insCommodityData*");
|
|
} else if ("6".equals(cmPageCentre.getType())) {
|
|
} else if ("6".equals(cmPageCentre.getType())) {
|
|
//清除活动专题缓存
|
|
//清除活动专题缓存
|
|
redisService.removePattern("activityData*");
|
|
redisService.removePattern("activityData*");
|
|
@@ -206,7 +206,7 @@ public class CmPageCentreController extends BaseController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//清除产品仪器缓存
|
|
//清除产品仪器缓存
|
|
- redisService.removePattern("instrumentData*");
|
|
|
|
|
|
+ redisService.removePattern("instrumentData*");redisService.removePattern("insCommodityData*");
|
|
//清除活动专题缓存
|
|
//清除活动专题缓存
|
|
redisService.removePattern("activityData*");
|
|
redisService.removePattern("activityData*");
|
|
map.put("success", true);
|
|
map.put("success", true);
|
|
@@ -230,4 +230,4 @@ public class CmPageCentreController extends BaseController {
|
|
}
|
|
}
|
|
return "modules/newhome/newPageFloorContentForm";
|
|
return "modules/newhome/newPageFloorContentForm";
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|