| | |
| | | package com.yeshi.fanli.service.inter.user;
|
| | |
|
| | | import javax.servlet.http.HttpServletRequest;
|
| | | import javax.servlet.http.HttpSession;
|
| | |
|
| | | import com.yeshi.fanli.entity.accept.AcceptData;
|
| | | import com.yeshi.fanli.entity.bus.user.LoginResult;
|
| | |
| | | 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;
|
| | |
|
| | | /**
|
| | | * 注册用户
|
| | |
| | | public UserInfo bindPhoneToLogin(String phone, String key, String appId, HttpServletRequest request)
|
| | | throws UserAccountException;
|
| | |
|
| | | /**
|
| | | * 手机登录需要绑定微信
|
| | | * @param request
|
| | | * @param loginType
|
| | | * @param vcode
|
| | | * @param phone
|
| | | * @param appId
|
| | | * @return
|
| | | * @throws UserAccountException
|
| | | */
|
| | | public UserInfo loginPhoneNew(HttpServletRequest request, int loginType, String vcode, String phone, String appId)
|
| | | throws UserAccountException;
|
| | |
|
| | | /**
|
| | | * 绑定微信登录 + 手机号key
|
| | | * @param request
|
| | | * @param acceptData
|
| | | * @param loginType
|
| | | * @param code
|
| | | * @param appId
|
| | | * @param key
|
| | | * @return
|
| | | * @throws UserAccountException
|
| | | */
|
| | | public UserInfo bindWXToLogin(HttpServletRequest request, AcceptData acceptData, String code, String appId,
|
| | | String key) throws UserAccountException;
|
| | |
|
| | | }
|