|
@@ -30,6 +30,7 @@ public class ProductController extends BaseController {
|
|
|
private static final String INSTRUMENT_LIST_PATH = "product/instruelist";
|
|
|
private static final String QUALITY_AUTHORRIZE_PATH = "product/qualityauthorize";
|
|
|
private static final String ACTIVITY_TOP_PATH = "activity/activityTopic";
|
|
|
+ private static final String CLOUD_BEAUTY_PATH = "activity/beautyTopic";
|
|
|
/**
|
|
|
* 美博会专题页
|
|
|
*/
|
|
@@ -150,4 +151,18 @@ public class ProductController extends BaseController {
|
|
|
return ACTIVITY_TOP_PATH;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 云上美博会
|
|
|
+ */
|
|
|
+ @GetMapping("/product/beauty-{id}.html")
|
|
|
+ public String getCloudBeautyPath(final Model model, @PathVariable("id") Integer id) {
|
|
|
+ // 活动专题页
|
|
|
+ Integer pageId = singlePageService.getBeautyPageIdById(id);
|
|
|
+ if (pageId == null) {
|
|
|
+ return super.errorPath();
|
|
|
+ }
|
|
|
+ model.addAttribute("pageId", id);
|
|
|
+ return CLOUD_BEAUTY_PATH;
|
|
|
+ }
|
|
|
+
|
|
|
}
|