From c6b718c3cadf5e5fff4c2a47fd1247842439f8c7 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期三, 15 四月 2020 10:45:18 +0800 Subject: [PATCH] 团队消息 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPInfoService.java | 69 ++++++++++++++++++++++------------ 1 files changed, 44 insertions(+), 25 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPInfoService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPInfoService.java index dd3ab93..b4fec49 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPInfoService.java +++ b/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; /** * 鏄惁涓篤IP @@ -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,11 +60,39 @@ */ public Map<Long,Boolean> listByUids(List<Long> uid); + /** - * 楠岃瘉鏄惁婊¤冻浼氬憳鏉′欢 - * @param uid + * 寰呭鏍稿垪琛� + * @param page + * @param count + * @param key * @return */ - public boolean verifyConform(Long uid); + 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; } -- Gitblit v1.8.0