|  |  |  | 
|---|
|  |  |  | package com.doumee.service.system; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.LoginUserInfo; | 
|---|
|  |  |  | import com.doumee.dao.system.dto.LoginDTO; | 
|---|
|  |  |  | import com.doumee.dao.system.dto.LoginPhoneDTO; | 
|---|
|  |  |  | import com.doumee.dao.system.dto.WxMiniLoginDTO; | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String loginByPassword (LoginDTO dto,int type,Boolean checkCaptcha, HttpServletRequest request); | 
|---|
|  |  |  | String loginByPhone (LoginPhoneDTO dto, int type,Boolean checkSmsCode, HttpServletRequest request); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 微信授权 | 
|---|
|  |  |  | * @param code | 
|---|
|  |  |  | * @param userId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String wxEmpower(String code,Integer userId); | 
|---|
|  |  |  | String switchCompany (LoginUserInfo loginUserInfo, Integer companyId, HttpServletRequest request); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String loginByWxMini (WxMiniLoginDTO wxMiniLoginDTO, HttpServletRequest request); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void cleaOpenid(); | 
|---|
|  |  |  | } | 
|---|