| | |
| | | import com.yeshi.fanli.entity.system.BusinessSystem; |
| | | import com.yeshi.fanli.exception.user.UserAccountException; |
| | | import com.yeshi.fanli.vo.taobao.TaoBaoUser; |
| | | import com.yeshi.fanli.vo.user.QQUserInfoVO; |
| | | import org.yeshi.utils.entity.ProxyIP; |
| | | import org.yeshi.utils.entity.wx.WeiXinUser; |
| | | |
| | |
| | | * @author Administrator |
| | | */ |
| | | public interface UserAccountService { |
| | | |
| | | |
| | | public String getMobile(String vcode, String phone, String aliAccessToken, SystemEnum system,int vcodeType) throws UserAccountException; |
| | | /** |
| | | * 用户登录 |
| | | * |
| | |
| | | * @throws UserAccountException |
| | | */ |
| | | @Deprecated |
| | | public UserInfo loginPhone(ProxyIP ipInfo, int loginType, String vcode, String phone, BusinessSystem businessSystem) |
| | | public UserInfo loginPhone(ProxyIP ipInfo, int loginType, String vcode, String phone, String aliAccessToken, BusinessSystem businessSystem) |
| | | throws UserAccountException; |
| | | |
| | | /** |
| | | * 淘宝登录 |
| | | * |
| | | * @param ipInfo |
| | | * @param taoBaoUser -淘宝信息 |
| | | * @param taoBaoUser -淘宝信息 |
| | | * @param businessSystem |
| | | * @return |
| | | * @throws UserAccountException |
| | |
| | | * @param code |
| | | * @throws UserAccountException |
| | | */ |
| | | public void bindWeiXin(AcceptData acceptData, Long uid, String code) throws UserAccountException; |
| | | public void bindWeiXin(BusinessSystem system, Long uid, String code) throws UserAccountException; |
| | | |
| | | |
| | | /** |
| | |
| | | * @throws UserAccountException |
| | | */ |
| | | public void bindWeiXin(Long uid, WeiXinUser wxUser) throws UserAccountException; |
| | | |
| | | |
| | | /** |
| | | * 绑定QQ |
| | | * |
| | | * @param uid |
| | | * @param qqUser |
| | | * @throws UserAccountException |
| | | */ |
| | | public void bindQQ( Long uid, QQUserInfoVO qqUser) throws UserAccountException; |
| | | |
| | | |
| | | /** |
| | |
| | | * @param reason |
| | | */ |
| | | public void forbiddenUserAll(Long uid, String reason); |
| | | |
| | | |
| | | /** |
| | | * 注销账户 |
| | | * |
| | | * @param uid |
| | | */ |
| | | public void unRegisterUser(Long uid,String reason); |
| | | |
| | | /** |
| | | * 删除账户 |
| | |
| | | public UserInfo loginWeiXinNew(ProxyIP ipInfo, int loginType, String wxCode, |
| | | BusinessSystem businessSystem) throws UserAccountException; |
| | | |
| | | |
| | | /** |
| | | * QQ登录 |
| | | * @param ipInfo |
| | | * @param loginType |
| | | * @param qqUserInfo |
| | | * @param businessSystem |
| | | * @return |
| | | * @throws UserAccountException |
| | | */ |
| | | public UserInfo loginQQ(ProxyIP ipInfo, int loginType, QQUserInfoVO qqUserInfo, |
| | | BusinessSystem businessSystem) throws UserAccountException; |
| | | |
| | | /** |
| | | * 未注册之前绑定手机号 |
| | | * |