From f862a844ea7e212f8cc0622b858308e2b91dca2e Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 04 七月 2020 16:35:50 +0800 Subject: [PATCH] 后台管理相关Controller注入系统 --- fanli/src/main/java/com/yeshi/fanli/controller/apph5/AppH5QualityGoodsController.java | 86 ++++++++++++++++++++---------------------- 1 files changed, 41 insertions(+), 45 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/apph5/AppH5QualityGoodsController.java b/fanli/src/main/java/com/yeshi/fanli/controller/apph5/AppH5QualityGoodsController.java index e846055..b35a9e1 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/apph5/AppH5QualityGoodsController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/apph5/AppH5QualityGoodsController.java @@ -55,13 +55,6 @@ @Controller @RequestMapping("api/apph5/v1/quality") public class AppH5QualityGoodsController { - - @Resource - private LabelService labelService; - - @Resource - private QualityFactoryService selectionGoodsService; - @Resource private TaoBaoGoodsBriefService taoBaoGoodsBriefService; @@ -71,8 +64,6 @@ @Resource private TaoKeGoodsService taoKeGoodsService; - @Resource - private GoodsClassService goodsClassService; @Resource private HongBaoManageService manageService; @@ -80,8 +71,6 @@ @Resource private MergeClassService mergeClassService; - @Resource - private TaoBaoClassService taoBaoClassService; @Resource private QualityGoodsService qualityGoodsService; @@ -95,8 +84,7 @@ @Resource private HongBaoManageService hongBaoManageService; - @Resource - private ConfigService configService; + @Resource private TaoBaoGoodsActivityService taoBaoGoodsActivityService; @@ -104,10 +92,12 @@ @Resource private DaTaoKeGoodsDetailV2Service daTaoKeGoodsDetailV2Service; + /** * 9.9鍟嗗搧 - * - * @param pageIndex + * @param callback + * @param page + * @param mcid * @param out */ @RequestMapping(value = "get9k9") @@ -118,8 +108,9 @@ /** * 19.9鍟嗗搧 - * - * @param pageIndex + * @param callback + * @param page + * @param mcid * @param out */ @RequestMapping(value = "get19k9") @@ -129,10 +120,12 @@ } + /** * 29.9鍟嗗搧 - * - * @param pageIndex + * @param callback + * @param page + * @param mcid * @param out */ @RequestMapping(value = "get29k9") @@ -144,8 +137,9 @@ /** * 49.9鍟嗗搧 - * - * @param pageIndex + * @param callback + * @param page + * @param mcid * @param out */ @RequestMapping(value = "get49k9") @@ -156,14 +150,14 @@ /** * 9k9绫诲瀷鐨勫晢鍝佹煡璇� - * - * @param labName - * 鏍囩鍚嶇О * @param callback - * @param page - * @param mcid - * 瀵瑰簲绫荤洰id * @param out + * @param page + * @param biz30day + * @param zkPrice + * @param minQuanPrice + * @param maxQuanPrice + * @param mcid */ public void get9k9ClassGoods(String callback, PrintWriter out, Integer page, Integer biz30day, BigDecimal zkPrice, BigDecimal minQuanPrice, BigDecimal maxQuanPrice, Long mcid) { @@ -239,8 +233,9 @@ /** * 9.9鍟嗗搧-姣忔棩蹇呮姠 - * - * @param pageIndex + * @param callback + * @param page + * @param mcid * @param out */ @RequestMapping(value = "get9k9EverydayRob") @@ -251,8 +246,9 @@ /** * 19.9鍟嗗搧-姣忔棩蹇呮姠 - * - * @param pageIndex + * @param callback + * @param page + * @param mcid * @param out */ @RequestMapping(value = "get19k9EverydayRob") @@ -262,8 +258,9 @@ /** * 29.9鍟嗗搧-姣忔棩蹇呮姠 - * - * @param pageIndex + * @param callback + * @param page + * @param mcid * @param out */ @RequestMapping(value = "get29k9EverydayRob") @@ -272,10 +269,12 @@ } + /** * 49.9鍟嗗搧-姣忔棩蹇呮姠 - * - * @param pageIndex + * @param callback + * @param page + * @param mcid * @param out */ @RequestMapping(value = "get49k9EverydayRob") @@ -285,13 +284,13 @@ } /** - * 姣忔棩蹇呮姠 - * + * 姣忔棩蹇呮姠 + * @param callback + * @param out * @param page - * @param pageSize - * @param labId - * @return - * @throws Exception + * @param zkPrice + * @param minQuanPrice + * @param maxQuanPrice */ public void queryEverydayRob(String callback, PrintWriter out, Integer page, BigDecimal zkPrice, BigDecimal minQuanPrice, BigDecimal maxQuanPrice) { @@ -1082,7 +1081,6 @@ * * @param callback * @param page - * @param type * @param out */ @RequestMapping("recommendToIndex") @@ -1117,7 +1115,6 @@ * * @param callback * @param page - * @param type * @param out */ @RequestMapping("freeGoods") @@ -1208,8 +1205,7 @@ JSONObject data = new JSONObject(); if (page == 1) { // 鎶藉瑙勫垯 - String rules = configService.get(ConfigKeyEnum.freeGoodsRule.getKey()); - data.put("ruleLink", rules); + data.put("ruleLink", ""); } data.put("count", count); -- Gitblit v1.8.0