| | |
| | | public void addUserVIPInfo(UserVIPInfo info) throws UserVIPInfoException;
|
| | |
|
| | | /**
|
| | | * 申请VIP
|
| | | * |
| | | * @param uid
|
| | | * @throws UserVIPInfoException
|
| | | */
|
| | | public void applyVIP(Long uid) throws UserVIPInfoException;
|
| | |
|
| | | /**
|
| | | * 通过vip申请
|
| | | * |
| | | * @param uid
|
| | | */
|
| | | public void passVIPApply(Long uid) throws UserVIPInfoException;
|
| | |
|
| | | /**
|
| | | * 拒绝申请
|
| | | * |
| | | * @param uid
|
| | | * @param reason
|
| | | */
|
| | | public void rejectVIPApply(Long uid, String reason) throws UserVIPInfoException;
|
| | |
|
| | | /**
|
| | | * 是否为VIP
|
| | | *
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public boolean isVIP(Long uid);
|
| | |
|
| | | /**
|
| | | * 在某个时间是否为VIP
|
| | | * @Title: isVIP
|
| | | * @Description: |
| | | * @param uid
|
| | | * @param time
|
| | | * @return |
| | | * boolean 返回类型
|
| | | * @throws
|
| | | */
|
| | | public boolean isVIP(Long uid, Long time);
|
| | |
|
| | | /**
|
| | | * 根据UID检索
|
| | |
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public Map<Long,Boolean> listByUids(List<Long> uid);
|
| | |
|
| | | /**
|
| | | * 验证是否满足会员条件
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public boolean verifyConform(Long uid);
|
| | | public Map<Long, Boolean> listByUids(List<Long> uid);
|
| | |
|
| | | /**
|
| | | * 待审核列表
|
| | |
| | | public long countQuery(String key, Integer state);
|
| | |
|
| | | /**
|
| | | * 超级会员与上级关系脱离
|
| | | * @param workerId
|
| | | * @param bossId
|
| | | */
|
| | | public void inviteSeparate(Long workerId, Long bossId);
|
| | |
|
| | | /**
|
| | | * 超级会员申请通过
|
| | | * @param uid
|
| | | * @throws UserVIPInfoException
|
| | | */
|
| | | public void passVIPApplyNew(Long uid) throws UserVIPInfoException;
|
| | | public void passVIPApply(Long uid) throws UserVIPInfoException;
|
| | |
|
| | | /**
|
| | | * 超级会员未通过
|
| | |
| | | * @param reason
|
| | | * @throws UserVIPInfoException
|
| | | */
|
| | | public void rejectVIPApplyNew(Long uid, String reason) throws UserVIPInfoException;
|
| | | public void rejectVIPApply(Long uid, String reason) throws UserVIPInfoException;
|
| | |
|
| | | /**
|
| | | * 超级会员申请
|
| | | * @param uid
|
| | | * @throws UserVIPInfoException
|
| | | */
|
| | | public void applyVIPNew(Long uid) throws UserVIPInfoException;
|
| | | public void applyVIP(Long uid) throws UserVIPInfoException;
|
| | |
|
| | | /**
|
| | | * 根据主键删除
|
| | | * @Title: deleteByPrimaryKey
|
| | | * @Description: |
| | | * @param id |
| | | * void 返回类型
|
| | | * @throws
|
| | | */
|
| | | public void deleteByPrimaryKey(Long id);
|
| | |
|
| | | }
|