Merge branch 'dev-csm-split-1126' of http://git.yoho.cn/platform/platform-cms in…
…to dev-csm-split-1126
Showing
4 changed files
with
18 additions
and
18 deletions
@@ -25,7 +25,7 @@ public class GateController { | @@ -25,7 +25,7 @@ public class GateController { | ||
25 | * 列表 | 25 | * 列表 |
26 | */ | 26 | */ |
27 | @RequestMapping("gate_list") | 27 | @RequestMapping("gate_list") |
28 | - public ApiResponse GateList(@RequestBody GateRequest request) { | 28 | + public ApiResponse gateList(@RequestBody GateRequest request) { |
29 | PageResponseBO<GateBO> page = gateService.list(request); | 29 | PageResponseBO<GateBO> page = gateService.list(request); |
30 | return new ApiResponse.ApiResponseBuilder().data(page).build(); | 30 | return new ApiResponse.ApiResponseBuilder().data(page).build(); |
31 | } | 31 | } |
@@ -32,7 +32,7 @@ public class HtmlContentController { | @@ -32,7 +32,7 @@ public class HtmlContentController { | ||
32 | /** | 32 | /** |
33 | * 获取静态内容列表 | 33 | * 获取静态内容列表 |
34 | */ | 34 | */ |
35 | - @RequestMapping("/getStaticList.do") | 35 | + @RequestMapping("/getStaticList") |
36 | @ResponseBody | 36 | @ResponseBody |
37 | public ApiResponse getStaticList(HtmlContentReq req) { | 37 | public ApiResponse getStaticList(HtmlContentReq req) { |
38 | logger.info("getSpecialActivity with param is {}", req); | 38 | logger.info("getSpecialActivity with param is {}", req); |
@@ -46,10 +46,10 @@ public class HtmlContentController { | @@ -46,10 +46,10 @@ public class HtmlContentController { | ||
46 | * @param | 46 | * @param |
47 | * @return | 47 | * @return |
48 | */ | 48 | */ |
49 | - @RequestMapping(params = "method=getCategoryListSel") | 49 | + @RequestMapping("/getCategoryListSel") |
50 | @ResponseBody | 50 | @ResponseBody |
51 | - public JSONArray getStyleListSel(EnumTypeRequestBean enumTypeRequestBean) { | ||
52 | - logger.info("begin getStyleListSel"); | 51 | + public JSONArray getStyleListSelFromHtmlContent(EnumTypeRequestBean enumTypeRequestBean) { |
52 | + logger.info("begin getStyleListSelFromHtmlContent"); | ||
53 | JSONArray arr = new JSONArray(); | 53 | JSONArray arr = new JSONArray(); |
54 | JSONObject obj; | 54 | JSONObject obj; |
55 | List<HtmlContentSort> htmlContentSorts = htmlContentService.selectHtmlContentSort(); | 55 | List<HtmlContentSort> htmlContentSorts = htmlContentService.selectHtmlContentSort(); |
@@ -65,7 +65,7 @@ public class HtmlContentController { | @@ -65,7 +65,7 @@ public class HtmlContentController { | ||
65 | /** | 65 | /** |
66 | * 新增静态模板 | 66 | * 新增静态模板 |
67 | */ | 67 | */ |
68 | - @RequestMapping("/addStatic.do") | 68 | + @RequestMapping("/addStatic") |
69 | @ResponseBody | 69 | @ResponseBody |
70 | public ApiResponse addStatic(HtmlContent req) { | 70 | public ApiResponse addStatic(HtmlContent req) { |
71 | logger.info("addStatic with param is {}", req); | 71 | logger.info("addStatic with param is {}", req); |
@@ -49,7 +49,7 @@ public class MakePromotionController { | @@ -49,7 +49,7 @@ public class MakePromotionController { | ||
49 | /** | 49 | /** |
50 | * 获取专区活动列表 | 50 | * 获取专区活动列表 |
51 | */ | 51 | */ |
52 | - @RequestMapping("/getMakePromotionList.do") | 52 | + @RequestMapping("/getMakePromotionList") |
53 | @ResponseBody | 53 | @ResponseBody |
54 | public ApiResponse getMakePromotionList(MakePromotionReq req) { | 54 | public ApiResponse getMakePromotionList(MakePromotionReq req) { |
55 | logger.info("getMakePromotionList with param is {}", req); | 55 | logger.info("getMakePromotionList with param is {}", req); |
@@ -64,7 +64,7 @@ public class MakePromotionController { | @@ -64,7 +64,7 @@ public class MakePromotionController { | ||
64 | * @param | 64 | * @param |
65 | * @return | 65 | * @return |
66 | */ | 66 | */ |
67 | - @RequestMapping(params = "method=getAllMakePromotion") | 67 | + @RequestMapping( "/getAllMakePromotion") |
68 | @ResponseBody | 68 | @ResponseBody |
69 | public JSONArray getAllMakePromotion(EnumTypeRequestBean enumTypeRequestBean) { | 69 | public JSONArray getAllMakePromotion(EnumTypeRequestBean enumTypeRequestBean) { |
70 | logger.info("begin getAllMakePromotion"); | 70 | logger.info("begin getAllMakePromotion"); |
@@ -89,7 +89,7 @@ public class MakePromotionController { | @@ -89,7 +89,7 @@ public class MakePromotionController { | ||
89 | * @param | 89 | * @param |
90 | * @return | 90 | * @return |
91 | */ | 91 | */ |
92 | - @RequestMapping(params = "method=getAllNotEffectMakePromotion") | 92 | + @RequestMapping("/getAllNotEffectMakePromotion") |
93 | @ResponseBody | 93 | @ResponseBody |
94 | public JSONArray getNotEffectMakePromotion(EnumTypeRequestBean enumTypeRequestBean) { | 94 | public JSONArray getNotEffectMakePromotion(EnumTypeRequestBean enumTypeRequestBean) { |
95 | logger.info("begin getAllMakePromotion"); | 95 | logger.info("begin getAllMakePromotion"); |
@@ -111,7 +111,7 @@ public class MakePromotionController { | @@ -111,7 +111,7 @@ public class MakePromotionController { | ||
111 | /** | 111 | /** |
112 | * 删除专区活动 | 112 | * 删除专区活动 |
113 | */ | 113 | */ |
114 | - @RequestMapping("/delMakePromotion.do") | 114 | + @RequestMapping("/delMakePromotion") |
115 | @ResponseBody | 115 | @ResponseBody |
116 | public ApiResponse delMakePromotion(MakePromotionReq req) { | 116 | public ApiResponse delMakePromotion(MakePromotionReq req) { |
117 | logger.info("getMakePromotionList with param is {}", req); | 117 | logger.info("getMakePromotionList with param is {}", req); |
@@ -195,7 +195,7 @@ public class MakePromotionController { | @@ -195,7 +195,7 @@ public class MakePromotionController { | ||
195 | /** | 195 | /** |
196 | * 获取专区活动相关商品列表 | 196 | * 获取专区活动相关商品列表 |
197 | */ | 197 | */ |
198 | - @RequestMapping("/getMakePromotionListProductDetail.do") | 198 | + @RequestMapping("/getMakePromotionListProductDetail") |
199 | @ResponseBody | 199 | @ResponseBody |
200 | public ApiResponse getMakePromotionListProductDetail(MakePromotionListReq req) { | 200 | public ApiResponse getMakePromotionListProductDetail(MakePromotionListReq req) { |
201 | logger.info("getMakePromotionList with param is {}", req); | 201 | logger.info("getMakePromotionList with param is {}", req); |
@@ -206,7 +206,7 @@ public class MakePromotionController { | @@ -206,7 +206,7 @@ public class MakePromotionController { | ||
206 | /** | 206 | /** |
207 | * 生效 | 207 | * 生效 |
208 | */ | 208 | */ |
209 | - @RequestMapping("/effectMakePromotion.do") | 209 | + @RequestMapping("/effectMakePromotion") |
210 | @ResponseBody | 210 | @ResponseBody |
211 | public ApiResponse effectMakePromotion(MakePromotionReq req) { | 211 | public ApiResponse effectMakePromotion(MakePromotionReq req) { |
212 | logger.info("getMakePromotionList with param is {}", req); | 212 | logger.info("getMakePromotionList with param is {}", req); |
@@ -37,7 +37,7 @@ public class SpecialController { | @@ -37,7 +37,7 @@ public class SpecialController { | ||
37 | /** | 37 | /** |
38 | * 获取专区列表 | 38 | * 获取专区列表 |
39 | */ | 39 | */ |
40 | - @RequestMapping("/getSpecialList.do") | 40 | + @RequestMapping("/getSpecialList") |
41 | @ResponseBody | 41 | @ResponseBody |
42 | public ApiResponse getSpecialList(SpecialReq req) { | 42 | public ApiResponse getSpecialList(SpecialReq req) { |
43 | logger.info("getSpecialActivity with param is {}", req); | 43 | logger.info("getSpecialActivity with param is {}", req); |
@@ -48,7 +48,7 @@ public class SpecialController { | @@ -48,7 +48,7 @@ public class SpecialController { | ||
48 | /** | 48 | /** |
49 | * 专区模板列表 | 49 | * 专区模板列表 |
50 | */ | 50 | */ |
51 | - @RequestMapping("/getStyleList.do") | 51 | + @RequestMapping("/getStyleList") |
52 | @ResponseBody | 52 | @ResponseBody |
53 | public ApiResponse getStyleList(SpecialReq req) { | 53 | public ApiResponse getStyleList(SpecialReq req) { |
54 | logger.info("getSpecialActivity with param is {}", req); | 54 | logger.info("getSpecialActivity with param is {}", req); |
@@ -83,7 +83,7 @@ public class SpecialController { | @@ -83,7 +83,7 @@ public class SpecialController { | ||
83 | /** | 83 | /** |
84 | * 新增模板 | 84 | * 新增模板 |
85 | */ | 85 | */ |
86 | - @RequestMapping(value = "/addStyle.do") | 86 | + @RequestMapping(value = "/addStyle") |
87 | @ResponseBody | 87 | @ResponseBody |
88 | public ApiResponse addStyle(SpecialStyleReq req) { | 88 | public ApiResponse addStyle(SpecialStyleReq req) { |
89 | logger.info("getSpecialActivity with param is {}", req); | 89 | logger.info("getSpecialActivity with param is {}", req); |
@@ -99,7 +99,7 @@ public class SpecialController { | @@ -99,7 +99,7 @@ public class SpecialController { | ||
99 | /** | 99 | /** |
100 | * 编辑模板 | 100 | * 编辑模板 |
101 | */ | 101 | */ |
102 | - @RequestMapping(value = "/updateStyle.do") | 102 | + @RequestMapping(value = "/updateStyle") |
103 | @ResponseBody | 103 | @ResponseBody |
104 | public ApiResponse updateStyle(SpecialStyleReq req) { | 104 | public ApiResponse updateStyle(SpecialStyleReq req) { |
105 | logger.info("getSpecialActivity with param is {}", req); | 105 | logger.info("getSpecialActivity with param is {}", req); |
@@ -115,7 +115,7 @@ public class SpecialController { | @@ -115,7 +115,7 @@ public class SpecialController { | ||
115 | /** | 115 | /** |
116 | * 新增专区 | 116 | * 新增专区 |
117 | */ | 117 | */ |
118 | - @RequestMapping(value = "/addSpecial.do") | 118 | + @RequestMapping(value = "/addSpecial") |
119 | @ResponseBody | 119 | @ResponseBody |
120 | public ApiResponse addSpecial(SpecialReq req) { | 120 | public ApiResponse addSpecial(SpecialReq req) { |
121 | logger.info("addSpecial with param is {}", req); | 121 | logger.info("addSpecial with param is {}", req); |
@@ -131,7 +131,7 @@ public class SpecialController { | @@ -131,7 +131,7 @@ public class SpecialController { | ||
131 | /** | 131 | /** |
132 | * 编辑专区 | 132 | * 编辑专区 |
133 | */ | 133 | */ |
134 | - @RequestMapping(value = "/updateSpecial.do") | 134 | + @RequestMapping(value = "/updateSpecial") |
135 | @ResponseBody | 135 | @ResponseBody |
136 | public ApiResponse updateSpecial(SpecialReq req) { | 136 | public ApiResponse updateSpecial(SpecialReq req) { |
137 | logger.info("updateSpecial with param is {}", req); | 137 | logger.info("updateSpecial with param is {}", req); |
-
Please register or login to post a comment