From d28bed1a1275131a5ca37f7da37961e2b518ac07 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 26 八月 2019 13:44:00 +0800 Subject: [PATCH] 淘礼金创建异常处理 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserLotteryRecordService.java | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserLotteryRecordService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserLotteryRecordService.java index 2887ca1..b9f36b2 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserLotteryRecordService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserLotteryRecordService.java @@ -4,6 +4,8 @@ import com.yeshi.fanli.exception.user.UserLotteryRecordException; +import net.sf.json.JSONObject; + public interface UserLotteryRecordService { /** @@ -12,7 +14,7 @@ * @param type * @return */ - public Map<String, Object> getLotteryCountDaily(Long uid) throws UserLotteryRecordException, Exception; + public JSONObject getLotteryCountDaily(Long uid) throws UserLotteryRecordException, Exception; /** @@ -25,5 +27,32 @@ public Map<String, Object> executeLotteryDaily(Long uid) throws UserLotteryRecordException, Exception; + /** + * 鏂颁汉鎶藉-娆℃暟 + * @param uid + * @return + * @throws UserLotteryRecordException + * @throws Exception + */ + public JSONObject getLotteryCountNewbies(Long uid) throws UserLotteryRecordException, Exception; + + /** + * 鏂颁汉鎶藉-鎶藉缁撴灉 + * @param uid + * @return + * @throws UserLotteryRecordException + * @throws Exception + */ + public Map<String, Object> executeLotteryNewbies(Long uid) throws UserLotteryRecordException, Exception; + + + /** + * 鏂颁汉鎶藉 -杩斿洖濂栧搧 + * @param count + * @param countPrize + * @param couponType + * @return + */ + public String getLotteryPrizeNewbies(int count, int countPrize, String couponType); } -- Gitblit v1.8.0