From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserAccountService.java | 74 +++++++++++++++++++------------------ 1 files changed, 38 insertions(+), 36 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserAccountService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserAccountService.java index 34ab97e..b29d3ad 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserAccountService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserAccountService.java @@ -6,6 +6,7 @@ import com.yeshi.fanli.entity.accept.AcceptData; import com.yeshi.fanli.entity.bus.user.LoginResult; import com.yeshi.fanli.entity.bus.user.UserInfo; +import com.yeshi.fanli.entity.bus.user.WeiXinUser; import com.yeshi.fanli.exception.user.UserAccountException; /** @@ -26,8 +27,9 @@ * @return * @throws UserAccountException */ - public LoginResult login(HttpServletRequest request,AcceptData acceptData, Boolean first, String appId, String code, String phone, - UserInfo tbUserInfo, boolean wxinstall, int loginType) throws UserAccountException; + public LoginResult login(HttpServletRequest request, AcceptData acceptData, Boolean first, String appId, + String code, String phone, UserInfo tbUserInfo, boolean wxinstall, int loginType) + throws UserAccountException; /** * 娌℃湁瀹夎寰俊鏃跺�欑殑鐧诲綍 @@ -40,32 +42,9 @@ * @return * @throws UserAccountException */ - public LoginResult loginNoInstallWX(AcceptData acceptData, String appId, String code, String phone, UserInfo tbUserInfo, int loginType) - throws UserAccountException; + public LoginResult loginNoInstallWX(AcceptData acceptData, String appId, String code, String phone, + UserInfo tbUserInfo, int loginType) throws UserAccountException; - /** - * 鎵撻�氬井淇¤处鍙蜂笌鍏朵粬绫诲瀷鐨勪竴涓处鍙� - * - * @param session - * @throws UserAccountException - */ - public void connectUsers(HttpSession session) throws UserAccountException; - - /** - * 澶囦唤閲嶈鐨勭敤鎴蜂俊鎭� - * - * @param uid - */ - public String backupUserImportantInfo(Long uid); - - /** - * 鎵撻�氫袱涓处鍙凤紝浠ヤ富璐﹀彿涓轰富 - * - * @param mainUser - * @param lessUser - * @throws UserAccountException - */ - public void connectUsers(UserInfo mainUser, UserInfo lessUser) throws UserAccountException; /** * 娉ㄥ唽鐢ㄦ埛 @@ -153,7 +132,7 @@ * @param uid * @param code */ - public void changeWXBind(AcceptData acceptData,Long uid, String code) throws UserAccountException; + public void changeWXBind(AcceptData acceptData, Long uid, String code) throws UserAccountException; /** * 娓呯悊鐢ㄦ埛澶村儚 @@ -171,6 +150,7 @@ /** * 鐢佃瘽鍙风爜鐧诲綍 1.5.3 + * * @param request * @param first * @param appId @@ -178,11 +158,12 @@ * @return * @throws UserAccountException */ - public UserInfo loginPhone(HttpServletRequest request, int loginType, String vcode, String phone, String appId) + public UserInfo loginPhone(HttpServletRequest request, int loginType, String vcode, String phone, String appId) throws UserAccountException; /** - *寰俊鐧诲綍 1.5.3 + * 寰俊鐧诲綍 1.5.3 + * * @param request * @param first * @param appId @@ -191,11 +172,12 @@ * @return * @throws UserAccountException */ - public UserInfo loginWinXin(HttpServletRequest request,AcceptData acceptData,int loginType, String code, String appId) - throws UserAccountException; + public UserInfo loginWinXin(HttpServletRequest request, AcceptData acceptData, int loginType, String code, + String appId) throws UserAccountException; /** - * 缁戝畾鐢佃瘽鍙风爜 V1.5.3 + * 缁戝畾鐢佃瘽鍙风爜 V1.5.3 + * * @param uid * @param phone * @throws UserAccountException @@ -203,15 +185,28 @@ public void bindPhoneNew(Long uid, String phone) throws UserAccountException; /** - * 缁戝畾寰俊 V1.5.3 + * 缁戝畾寰俊 V1.5.3 + * * @param uid * @param code * @throws UserAccountException */ - public void bindWeiXin(AcceptData acceptData,Long uid, String code) throws UserAccountException; + public void bindWeiXin(AcceptData acceptData, Long uid, String code) throws UserAccountException; + + + /** + * 缁戝畾寰俊 V1.5.3 + * + * @param uid + * @param code + * @throws UserAccountException + */ + public void bindWeiXin( Long uid, WeiXinUser wxUser ) throws UserAccountException; + /** * 璐︽埛灏佺 + * * @param uid * @param reason */ @@ -219,6 +214,7 @@ /** * 灏佺鐢ㄦ埛鎵�鏈変俊鎭細鎵嬫満鍙枫�佸井淇°�佹窐瀹濄�佹敮浠樺疂 + * * @param uid * @param reason */ @@ -226,6 +222,7 @@ /** * 鍒犻櫎璐︽埛 + * * @param uid * @param reason */ @@ -233,6 +230,7 @@ /** * 闀挎椂闂存湭鐧诲綍璐︽埛鍒犻櫎 + * * @param uid * @param reason */ @@ -240,6 +238,7 @@ /** * 2.0.1 鏂扮櫥褰曟柟寮� -寰俊 + * * @param request * @param acceptData * @param loginType @@ -248,10 +247,12 @@ * @return * @throws UserAccountException */ - public UserInfo loginWeiXinNew(HttpServletRequest request, AcceptData acceptData, int loginType, String wxCode, String appId) throws UserAccountException; + public UserInfo loginWeiXinNew(HttpServletRequest request, AcceptData acceptData, int loginType, String wxCode, + String appId) throws UserAccountException; /** * 鏈敞鍐屼箣鍓嶇粦瀹氭墜鏈哄彿 + * * @param phone * @param key * @param appId @@ -261,4 +262,5 @@ */ public UserInfo bindPhoneToLogin(String phone, String key, String appId, HttpServletRequest request) throws UserAccountException; + } -- Gitblit v1.8.0