From b6c37e4bc38db88a360d0f2c6099183f9bb75bdc Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期一, 22 四月 2019 14:31:59 +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