From 8cb7ec4a35a38ae91d0eed17cde711e81d2b2bbf Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期二, 14 五月 2019 11:37:49 +0800 Subject: [PATCH] 合并 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoExtraService.java | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoExtraService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoExtraService.java index fb6ef96..158fd10 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoExtraService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserInfoExtraService.java @@ -36,5 +36,63 @@ * @throws UserInfoExtraException */ public UserInfoExtra updateRank(UserInfoExtra userInfoExtra) throws UserInfoExtraException; + + /** + * 鐢ㄦ埛婵�娲婚個璇风爜 + * @param uid + * @param inviteCode + * @return + * @throws UserInfoExtraException + */ + public String activateInviteCode(Long uid, String inviteCode) throws UserInfoExtraException; + + /** + * 鑾峰彇鐢ㄦ埛闄勫姞淇℃伅 + * @param uid + * @return + */ + public UserInfoExtra getUserInfoExtra(Long uid); + + /** + * 鑾峰彇鐢ㄦ埛閭�璇风爜,鑻ユ病鏈変笖瀛樺湪闃熷憳鍏崇郴 閭d箞鑷姩鐢熸垚閭�璇风爜 + * @param uid + * @return + * @throws UserInfoExtraException + */ + public String getUserInviteCode(Long uid) throws UserInfoExtraException; + + /** + * 鑾峰彇鐢ㄦ埛棰濆淇℃伅鍏ㄩ儴琛嶇敓淇℃伅 + * @param uid + * @return + */ + public UserInfoExtraVO getInfoExtraVOByUid(Long uid); + + /** + * 缁熻鍚勪釜绛夌骇鐢ㄦ埛鏁� + */ + public long countByRankId(Long rankId); + + /** + * 寰俊閭�璇锋縺娲讳笂绾у叧绯� 1.5.3 + * @param uid + * @param code + * @throws UserInfoExtraException + */ + public void activationInviteWX(Long uid, String code) throws UserInfoExtraException; + + /** + * 鍒ゆ柇鏄惁鏄柊鐢ㄦ埛 + * @param uid + * @return + */ + public boolean isNewUser(Long uid); + + /** + * 鍒涘缓棰濆淇℃伅 + * @param uid + * @throws UserInfoExtraException + */ + public void createUserInfoExtra(Long uid) throws UserInfoExtraException; } -- Gitblit v1.8.0