You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.6 KiB
52 lines
1.6 KiB
6 years ago
|
package com.epmet.service;
|
||
|
|
||
|
import com.epmet.commons.tools.utils.Result;
|
||
|
import com.epmet.dto.form.GovWxmpEnteOrgFormDTO;
|
||
|
import com.epmet.dto.form.GovWxmpFormDTO;
|
||
|
import com.epmet.dto.form.GovWxmpGetOrgsFormDTO;
|
||
|
import com.epmet.dto.form.SendSmsCodeFormDTO;
|
||
|
import com.epmet.dto.result.UserTokenResultDTO;
|
||
|
|
||
|
/**
|
||
|
* @Description 政府端登录服务
|
||
|
* @Author yinzuomei
|
||
|
* @Date 2020/4/20 10:56
|
||
|
*/
|
||
|
public interface GovLoginService {
|
||
|
/**
|
||
|
* @param formDTO
|
||
|
* @return com.epmet.commons.tools.utils.Result
|
||
|
* @Author yinzuomei
|
||
|
* @Description 政府端微信小程序登录-发送验证码
|
||
|
* @Date 2020/4/18 10:59
|
||
|
**/
|
||
|
Result sendSmsCode(SendSmsCodeFormDTO formDTO);
|
||
|
|
||
|
/**
|
||
|
* @param formDTO
|
||
|
* @return com.epmet.commons.tools.utils.Result<com.epmet.common.token.dto.result.UserTokenResultDTO>
|
||
|
* @Author yinzuomei
|
||
|
* @Description 3、手机验证码获取组织
|
||
|
* @Date 2020/4/18 21:11
|
||
|
**/
|
||
|
Result<UserTokenResultDTO> getorgs(GovWxmpGetOrgsFormDTO formDTO);
|
||
|
|
||
|
/**
|
||
|
* @param formDTO
|
||
|
* @return com.epmet.commons.tools.utils.Result<com.epmet.dto.result.UserTokenResultDTO>
|
||
|
* @Author yinzuomei
|
||
|
* @Description 政府端小程序根据wxCode获取上一次登录信息,返回token
|
||
|
* @Date 2020/4/20 11:23
|
||
|
**/
|
||
|
Result<UserTokenResultDTO> loginByWxCode(GovWxmpFormDTO formDTO);
|
||
|
|
||
|
/**
|
||
|
* @param formDTO
|
||
|
* @return com.epmet.commons.tools.utils.Result<com.epmet.dto.result.UserTokenResultDTO>
|
||
|
* @Author yinzuomei
|
||
|
* @Description 4、选择组织,进入首页
|
||
|
* @Date 2020/4/20 13:08
|
||
|
**/
|
||
|
Result<UserTokenResultDTO> enterOrg(GovWxmpEnteOrgFormDTO formDTO);
|
||
|
}
|