From e26a53e729c16a36825a399f26e7ab069890320a Mon Sep 17 00:00:00 2001
From: admin <2780501319@qq.com>
Date: 星期一, 17 二月 2020 10:11:18 +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