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 | 60 ++++++++++++++++-------------------------------------------- 1 files changed, 16 insertions(+), 44 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 881bb04..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,37 +23,13 @@ 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 @@ -64,7 +40,7 @@ * boolean 杩斿洖绫诲瀷 * @throws */ - public boolean isVIP(Long uid,Long time); + public boolean isVIP(Long uid, Long time); /** * 鏍规嵁UID妫�绱� @@ -80,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); /** * 寰呭鏍稿垪琛� @@ -101,18 +70,11 @@ 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; /** * 瓒呯骇浼氬憳鏈�氳繃 @@ -120,13 +82,23 @@ * @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); } -- Gitblit v1.8.0