| | |
| | | import org.yeshi.utils.bean.BeanUtil; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice; |
| | | import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornGetPriceService; |
| | |
| | | /** |
| | | * @return java.lang.Integer |
| | | * @author hxh |
| | | * @description 获取观看视频的单价(按分钟计价) |
| | | * @date 18:18 2022/4/26 |
| | | * @description 获取计数价格 |
| | | * @date 12:10 2022/4/28 |
| | | * @param: type |
| | | * @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: system |
| | | * @param: date |
| | | * @param: timeSeconds |
| | | * @param: eventCount |
| | | **/ |
| | | public Integer getReadNovelPrice(UserInfo user, Date date, int timeSeconds) throws GoldCornGetPriceException; |
| | | |
| | | public Integer getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date, long eventCount) throws GoldCornGetPriceException; |
| | | |
| | | |
| | | /** |
| | | * @author hxh |
| | | * @description 获取浏览新闻价格 |
| | | * @date 18:34 2022/4/26 |
| | | * @return java.util.Map<com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType , java.lang.Integer> |
| | | * @author hxh |
| | | * @description 获取计数价格列表 |
| | | * @date 13:55 2022/4/28 |
| | | * @param: typeList |
| | | * @param: user |
| | | * @param: system |
| | | * @param: date |
| | | * @param: num |
| | | * @return java.lang.Integer |
| | | **/ |
| | | public Integer getScanNewsPrice(UserInfo user, Date date, int num) throws GoldCornGetPriceException; |
| | | public Map<GoldCornGetType, GoldCornGetPrice> getCountPrice(List<GoldCornGetType> typeList, UserInfo user, SystemEnum system, Date date); |
| | | |
| | | |
| | | /** |
| | | * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice |
| | | * @author hxh |
| | | * @description 获取计数价格 |
| | | * @date 19:02 2022/4/28 |
| | | * @param: type |
| | | * @param: user |
| | | * @param: system |
| | | * @param: date |
| | | **/ |
| | | public GoldCornGetPrice getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date); |
| | | |
| | | |
| | | } |