From 36681e15e12aaa9135f69260472de65303cdcba3 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 26 四月 2022 19:10:45 +0800 Subject: [PATCH] 任务优化 --- app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 48 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java index 86366a8..6eab3ce 100644 --- a/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java +++ b/app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java @@ -6,6 +6,8 @@ import com.yeshi.makemoney.app.entity.SystemEnum; import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType; +import com.yeshi.makemoney.app.entity.user.UserInfo; +import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetPriceException; import org.yeshi.utils.bean.BeanUtil; import java.util.List; @@ -88,13 +90,57 @@ /** - * @author hxh + * @return java.util.List<java.lang.Integer> + * @author hxh * @description 鑾峰彇杩炵画绛惧埌鐨勪环鏍煎垪琛� * @date 16:26 2022/4/21 * @param: system - * @return java.util.List<java.lang.Integer> **/ public List<Integer> getSingInPriceList(SystemEnum system); + /** + * @return java.lang.Integer + * @author hxh + * @description 鑾峰彇瑙傜湅瑙嗛鐨勫崟浠凤紙鎸夊垎閽熻浠凤級 + * @date 18:18 2022/4/26 + * @param: user + **/ + /** + * @return java.lang.Integer + * @author hxh + * @description 鑾峰彇鏈瑙傜湅瑙嗛鐨勪环鏍� + * @date 18:23 2022/4/26 + * @param: user 鐢ㄦ埛淇℃伅 + * @param: date 瑙傜湅鐨勬棩鏈� + * @param: timeSeconds 瑙傜湅鐨勬椂闀� + **/ + public Integer getWatchVideoPrice(UserInfo user, Date date, int timeSeconds) throws GoldCornGetPriceException; + + + /** + * @return java.lang.Integer + * @author hxh + * @description 鑾峰彇鏈闃呰灏忚鐨勪环鏍� + * @date 18:28 2022/4/26 + * @param: user + * @param: date + * @param: timeSeconds + **/ + public Integer getReadNovelPrice(UserInfo user, Date date, int timeSeconds) throws GoldCornGetPriceException; + + + + /** + * @author hxh + * @description 鑾峰彇娴忚鏂伴椈浠锋牸 + * @date 18:34 2022/4/26 + * @param: user + * @param: date + * @param: num + * @return java.lang.Integer + **/ + public Integer getScanNewsPrice(UserInfo user, Date date, int num) throws GoldCornGetPriceException; + + } -- Gitblit v1.8.0