From be641cbe14bf20c807dccceb1c4b825d80443aed Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 08 一月 2020 14:42:47 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserLotteryRecordServiceImpl.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserLotteryRecordServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserLotteryRecordServiceImpl.java
index 13aa23e..3f56d12 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserLotteryRecordServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserLotteryRecordServiceImpl.java
@@ -14,6 +14,7 @@
 import com.yeshi.fanli.entity.bus.user.UserInfoExtra;
 import com.yeshi.fanli.entity.bus.user.UserLotteryRecord;
 import com.yeshi.fanli.entity.bus.user.UserSystemCoupon;
+import com.yeshi.fanli.entity.system.ConfigKeyEnum;
 import com.yeshi.fanli.entity.system.SystemCoupon;
 import com.yeshi.fanli.entity.system.SystemCoupon.CouponTypeEnum;
 import com.yeshi.fanli.exception.user.UserInfoExtraException;
@@ -128,7 +129,7 @@
 		}
 		
 		// 鎶藉瑙勫垯
-		String lotteryRule = configService.get("lottery_rule_newbies");
+		String lotteryRule = configService.get(ConfigKeyEnum.lotteryRuleNewbies.getKey());
 					
 		JSONObject data = new JSONObject();
 		data.put("count", count);
@@ -289,7 +290,7 @@
 		}
 		
 		// 鎶藉瑙勫垯
-		String lotteryRule = configService.get("lottery_rule_daily_rebate");
+		String lotteryRule = configService.get(ConfigKeyEnum.lotteryRuleDailyRebate.getKey());
 					
 		JSONObject data = new JSONObject();
 		data.put("count", count);

--
Gitblit v1.8.0