From 2464548977f4720bc8fceeb5d999c1a3852c2d10 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 21 四月 2022 19:38:30 +0800
Subject: [PATCH] 签到与任务

---
 app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMakeService.java |   45 +++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMakeService.java b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMakeService.java
index 4b091e2..23c931f 100644
--- a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMakeService.java
+++ b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornMakeService.java
@@ -1,5 +1,6 @@
 package com.yeshi.makemoney.app.service.inter.goldcorn;
 
+import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetRecord;
 import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType;
 import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetFrequencyConfigException;
 import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetPriceException;
@@ -27,7 +28,7 @@
      * @param: isDouble 鏄惁鍔犲��
      * @param: time 鍙戠敓鏃堕棿
      **/
-    public void addGoldCorn(Long uid, GoldCornGetType type,boolean isDouble, Date time) throws UserInfoException, GoldCornGetPriceException, GoldCornGetFrequencyConfigException, GoldCornMakeException;
+    public GoldCornGetRecord addGoldCorn(Long uid, GoldCornGetType type, boolean isDouble, Date time, Integer price) throws UserInfoException, GoldCornGetPriceException, GoldCornGetFrequencyConfigException, GoldCornMakeException;
 
 
     /**
@@ -38,7 +39,47 @@
      * @param: uid
      * @param: day
      **/
-    public Long getGoldCornByDay(Long uid, String day);
+    public Long getGoldCornByDay(Long uid, Date day);
+
+
+    /**
+     * @return java.lang.Long
+     * @author hxh
+     * @description 鑾峰彇姝e湪鎶樼畻涓殑閲戝竵鏁伴噺
+     * @date 11:21 2022/4/21
+     * @param: uid
+     **/
+    public Long getExchangingGoldCorn(Long uid, int dayCount);
+
+    /**
+     * @return int
+     * @author hxh
+     * @description 鑾峰彇杩炵画绛惧埌鐨勫ぉ鏁�
+     * @date 16:24 2022/4/21
+     * @param: uid
+     **/
+    public int getContinueSignDay(Long uid);
+
+
+    /**
+     * @return boolean
+     * @author hxh
+     * @description 鏄惁绛惧埌
+     * @date 17:05 2022/4/21
+     * @param: uid
+     * @param: date
+     **/
+    public boolean isSignIn(Long uid, Date date);
+
+
+    /**
+     * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetRecord
+     * @author hxh
+     * @description 绛惧埌
+     * @date 19:14 2022/4/21
+     * @param: uid
+     **/
+    public GoldCornGetRecord signIn(Long uid) throws GoldCornGetFrequencyConfigException, UserInfoException, GoldCornGetPriceException, GoldCornMakeException;
 
 
 }

--
Gitblit v1.8.0