admin
2020-04-15 ee5c8055b1c0dd7c67a9025a76b10bd287c93d9a
fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPInfoService.java
@@ -22,28 +22,6 @@
    */
   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
@@ -52,6 +30,19 @@
    * @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检索
@@ -69,4 +60,39 @@
    */
   public Map<Long,Boolean> listByUids(List<Long> uid);
   /**
    * 待审核列表
    * @param page
    * @param count
    * @param key
    * @return
    */
   public List<UserVIPInfo> listQuery(int page, int count, String key, Integer state);
   public long countQuery(String key, Integer state);
   /**
    * 超级会员申请通过
    * @param uid
    * @throws UserVIPInfoException
    */
   public void passVIPApply(Long uid) throws UserVIPInfoException;
   /**
    * 超级会员未通过
    * @param uid
    * @param reason
    * @throws UserVIPInfoException
    */
   public void rejectVIPApply(Long uid, String reason) throws UserVIPInfoException;
   /**
    *  超级会员申请
    * @param uid
    * @throws UserVIPInfoException
    */
   public void applyVIP(Long uid) throws UserVIPInfoException;
}