From 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 09 五月 2020 21:41:27 +0800 Subject: [PATCH] 2.1需求 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPInfoService.java | 77 +++++++++++++++++++++----------------- 1 files changed, 42 insertions(+), 35 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 5669c1d..af3aaf8 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 @@ -23,35 +23,24 @@ 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 * * @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妫�绱� @@ -67,14 +56,7 @@ * @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); /** * 寰呭鏍稿垪琛� @@ -88,10 +70,35 @@ public long countQuery(String key, Integer state); /** - * 瓒呯骇浼氬憳涓庝笂绾у叧绯昏劚绂� - * @param workerId - * @param bossId + * 瓒呯骇浼氬憳鐢宠閫氳繃 + * @param uid + * @throws UserVIPInfoException */ - public void inviteSeparate(Long workerId, Long bossId); + 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; + + /** + * 鏍规嵁涓婚敭鍒犻櫎 + * @Title: deleteByPrimaryKey + * @Description: + * @param id + * void 杩斿洖绫诲瀷 + * @throws + */ + public void deleteByPrimaryKey(Long id); } -- Gitblit v1.8.0