From 81a2c8e297787cc7dc405d6db4972cb917cd80b5 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 17 一月 2020 16:50:57 +0800 Subject: [PATCH] 无用代码删除,单品分享接口修改 --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java index 15c4e98..19fc51c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java @@ -17,6 +17,7 @@ import com.yeshi.fanli.entity.bus.user.HongBaoV2; import com.yeshi.fanli.entity.bus.user.LostOrder; import com.yeshi.fanli.entity.bus.user.Order; +import com.yeshi.fanli.entity.system.ConfigKeyEnum; import com.yeshi.fanli.service.inter.config.ConfigService; import com.yeshi.fanli.service.inter.order.HongBaoOrderService; import com.yeshi.fanli.service.inter.order.LostOrderService; @@ -89,7 +90,7 @@ // 娆℃暟闄愬埗 long count = lostOrderMapper.countTodayAppeal(lostOrder.getUserInfo().getId()); - String countMax = configService.get("order_appeal_count_day"); + String countMax = configService.get(ConfigKeyEnum.orderAppealCountDay.getKey()); if (countMax != null && countMax.trim().length() > 0 && count >= Long.parseLong(countMax)) { return -7; } -- Gitblit v1.8.0