From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPInfoService.java | 201 ++++++++++++++++++++++++++------------------------ 1 files changed, 104 insertions(+), 97 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..586185b 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 @@ -1,97 +1,104 @@ -package com.yeshi.fanli.service.inter.user.vip; - -import java.util.List; -import java.util.Map; - -import com.yeshi.fanli.entity.bus.user.vip.UserVIPInfo; -import com.yeshi.fanli.exception.user.vip.UserVIPInfoException; - -/** - * VIP鐢ㄦ埛鏈嶅姟 - * - * @author Administrator - * - */ -public interface UserVIPInfoService { - - /** - * 娣诲姞鐢ㄦ埛VIP淇℃伅 - * - * @param info - * @throws UserVIPInfoException - */ - 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); - - /** - * 鏍规嵁UID妫�绱� - * - * @param uid - * @return - */ - public UserVIPInfo selectByUid(Long uid); - - /** - * 鎵归噺鏌ヨ鏄惁涓篤IP - * - * @param uid - * @return - */ - public Map<Long,Boolean> listByUids(List<Long> uid); - - /** - * 楠岃瘉鏄惁婊¤冻浼氬憳鏉′欢 - * @param uid - * @return - */ - public boolean verifyConform(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 workerId - * @param bossId - */ - public void inviteSeparate(Long workerId, Long bossId); - -} +package com.yeshi.fanli.service.inter.user.vip; + +import java.util.List; +import java.util.Map; + +import com.yeshi.fanli.entity.bus.user.vip.UserVIPInfo; +import com.yeshi.fanli.exception.user.vip.UserVIPInfoException; + +/** + * VIP鐢ㄦ埛鏈嶅姟 + * + * @author Administrator + * + */ +public interface UserVIPInfoService { + + /** + * 娣诲姞鐢ㄦ埛VIP淇℃伅 + * + * @param info + * @throws UserVIPInfoException + */ + public void addUserVIPInfo(UserVIPInfo info) 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妫�绱� + * + * @param uid + * @return + */ + public UserVIPInfo selectByUid(Long uid); + + /** + * 鎵归噺鏌ヨ鏄惁涓篤IP + * + * @param uid + * @return + */ + 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; + + /** + * 鏍规嵁涓婚敭鍒犻櫎 + * @Title: deleteByPrimaryKey + * @Description: + * @param id + * void 杩斿洖绫诲瀷 + * @throws + */ + public void deleteByPrimaryKey(Long id); + +} -- Gitblit v1.8.0