| | |
| | | import com.ks.vip.pojo.DO.VipGradePotence; |
| | | import com.ks.vip.pojo.Enums.VIPEnum; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | public interface VipCenterService { |
| | |
| | | |
| | | /** |
| | | * 添加会员权益 |
| | | * |
| | | * @param uid |
| | | * @param gradeId |
| | | * @param validDays |
| | |
| | | |
| | | /** |
| | | * 获取当前用户会员权益 |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 获取当前用户会员等级信息 |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 获取当前用户会员等级枚举 |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public VIPEnum getVIPEnumByUid(String uid); |
| | | |
| | | |
| | | /** |
| | | * 获取用户在某个时间点的等级 |
| | | * |
| | | * @param uid |
| | | * @param date |
| | | * @return |
| | | */ |
| | | public VIPEnum getVIPEnumByUid(String uid, Date date); |
| | | |
| | | |
| | | } |