From f111025b1c2c8bb95e64f4f9e23c09813b7938d2 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 24 十二月 2019 10:53:30 +0800 Subject: [PATCH] 维权日志添加,京东短链解析添加缓存 --- fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityGoodsServiceImpl.java | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityGoodsServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityGoodsServiceImpl.java index f10ac2f..7980a39 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityGoodsServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/QualityGoodsServiceImpl.java @@ -339,8 +339,8 @@ * 棣栭〉鏈�搴曢儴@鍟嗗搧淇℃伅娴� */ @Override - @Cacheable(value = "qualityCache", key = "'getRecommendToIndexV2-'+#start") - public JSONArray getRecommendToIndexV2(long start, int count) { + @Cacheable(value = "qualityCache", key = "'getRecommendToIndexV2-'+#start+'-'+#platform+'-'+#version") + public JSONArray getRecommendToIndexV2(long start, int count,String platform,String version) { // 杩斿埄閲戦2鍏冧互涓婏紱 Integer commision = 2; @@ -378,8 +378,7 @@ } catch (Exception e) { } - BigDecimal shareRate = hongBaoManageService.getShareRate(); - ConfigParamsDTO paramsDTO = new ConfigParamsDTO(fanLiRate, shareRate, Constant.MAX_REWARD_RATE,hongBaoManageService.getVIPFanLiRate()); + ConfigParamsDTO paramsDTO =hongBaoManageService.getShowComputeRate(platform, version); for (TaoBaoGoodsBrief taoBaoGoodsBrief : goodsList) { GoodsDetailVO detailVO = GoodsDetailVOFactory.convertTaoBao(taoBaoGoodsBrief,paramsDTO); -- Gitblit v1.8.0