| | |
| | | |
| | | import com.ks.vip.pojo.DO.VipCenter; |
| | | import com.ks.vip.pojo.DO.VipCombo; |
| | | import com.ks.vip.pojo.DO.VipGrade; |
| | | import com.ks.vip.pojo.DO.VipGradePotence; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | public void deteleByUid(String id); |
| | | |
| | | |
| | | /** |
| | | * 获取会员等级 |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public VipGrade getVipGrade(String uid); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 验证会员状态 |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public boolean verifyVIP(String uid); |
| | | |
| | | /** |
| | | * 添加会员权益 |
| | | * @param uid |
| | | * @param gradeId |
| | | * @param validDays |
| | | * @param orderId |
| | | */ |
| | | public void saveVipCenter(String uid, Long gradeId, Integer validDays, Long orderId); |
| | | |
| | | |
| | | /** |
| | | * 获取会员权益 |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public VipGradePotence getVipPotence(String uid); |
| | | |
| | | } |