forked from rongchao/epmet-cloud-rizhao
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.
120 lines
3.1 KiB
120 lines
3.1 KiB
package com.epmet.service;
|
|
|
|
import com.epmet.dto.form.*;
|
|
import com.epmet.dto.result.ResiDingAppLoginResDTO;
|
|
import com.epmet.dto.result.StaffOrgsResultDTO;
|
|
import com.epmet.dto.result.UserTokenResultDTO;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @Description 第三方-居民端、政府端登陆服务
|
|
* @author sun
|
|
*/
|
|
public interface ThirdLoginService {
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @return
|
|
* @Author sun
|
|
* @Description 单客户-居民端微信小程序登录
|
|
**/
|
|
UserTokenResultDTO resiLogin(LoginFormDTO formDTO);
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @return
|
|
* @Author sun
|
|
* @Description 单客户-政府端微信小程序登录
|
|
**/
|
|
UserTokenResultDTO workLogin(LoginFormDTO formDTO);
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @return
|
|
* @Author sun
|
|
* @Description 单客户-选择组织,进入首页
|
|
**/
|
|
UserTokenResultDTO enterOrg(ThirdWxmpEnteOrgFormDTO formDTO);
|
|
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @return
|
|
* @Author zhy
|
|
* @Description 单客户-选择组织,进入首页
|
|
**/
|
|
UserTokenResultDTO enterOrgByAccount(ThirdWxmpEnteOrgByAccountFormDTO formDTO);
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @return
|
|
* @Author sun
|
|
* @Description 单客户-手机验证码获取组织
|
|
**/
|
|
List<StaffOrgsResultDTO> getMyOrg(ThirdStaffOrgsFormDTO formDTO);
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @return
|
|
* @author sun
|
|
* @description 单客户-手机号密码获取组织
|
|
**/
|
|
List<StaffOrgsResultDTO> getMyOrgByPassword(ThirdStaffOrgsFormDTO formDTO);
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @return
|
|
* @author zhy
|
|
* @description 单客户-手机号密码获取组织
|
|
**/
|
|
List<StaffOrgsResultDTO> getMyOrgByAccount(ThirdStaffOrgByAccountFormDTO formDTO);
|
|
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @return
|
|
* @author sun
|
|
* @description 单客户-获取微信用户手机号
|
|
**/
|
|
String getResiWxPhone(GetResiWxPhoneFormDTO formDTO);
|
|
|
|
/**
|
|
* @param formDTO
|
|
* @author sun
|
|
* @description 单客户-工作端微信小程序登录-发送验证码
|
|
**/
|
|
void sendSmsCode(ThirdSendSmsCodeFormDTO formDTO);
|
|
|
|
/**
|
|
* 钉钉应用的登录-居民端
|
|
* 产品服务商建立第三方企业应用
|
|
* 参考文档:https://open.dingtalk.com/document/isvapp-server/unified-authorization-suite-access-process
|
|
* @param formDTO
|
|
* @return
|
|
*/
|
|
ResiDingAppLoginResDTO resiLoginDing(ResiDingAppLoginFormDTO formDTO);
|
|
|
|
/**
|
|
* 企业简历内部应用授权给第三方
|
|
* 可参考文档: 获取第三方应用授权企业的accessToken https://open.dingtalk.com/document/orgapp-server/obtain-the-access_token-of-the-authorized-enterprise
|
|
* https://open.dingtalk.com/document/orgapp-server/enterprise-internal-application-logon-free
|
|
* @param formDTO
|
|
* @return
|
|
*/
|
|
ResiDingAppLoginResDTO resiLoginDingMd(DingAppLoginMdFormDTO formDTO);
|
|
|
|
/**
|
|
* 企业内部应用免登 文档地址:https://open.dingtalk.com/document/orgapp-server/enterprise-internal-application-logon-free
|
|
* @param formDTO
|
|
* @return
|
|
*/
|
|
ResiDingAppLoginResDTO resiLoginInternalDing(DingAppLoginMdFormDTO formDTO);
|
|
|
|
/**
|
|
* desc:企业内部应用 工作端登录
|
|
* @param formDTO
|
|
* @return
|
|
*/
|
|
UserTokenResultDTO govLoginInternalDing(DingAppLoginMdFormDTO formDTO);
|
|
}
|
|
|