feat(core): 平台添加用户名登录方式 支持钉钉授权

平台添加用户名登录方式 支持钉钉授权
yun-zuoyi
wynne1005 4 years ago
parent ac791d518a
commit b46bd3b354

@ -1085,7 +1085,8 @@ public class ImppEnumUtil {
WORK_WECHAT(8, "企业微信配置"),
SMS(9, "短信配置"),
SSO(10, "单点登录配置"),
PASSWORD_EXPIRE(11, "密码过期策略");
PASSWORD_EXPIRE(11, "密码过期策略"),
DINGTALK_REDIRECT(12, "钉钉授权跳转");
private final int value;
private final String description;
@ -1645,7 +1646,8 @@ public class ImppEnumUtil {
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AUTH_LOGIN_STRATEGY {
ACCOUNT(10, "Default", "defaultLoginStrategy", "账户密码登录"),
E9(20, "E9", "e9LoginStrategy", "泛微单点登录策略");
E9(20, "E9", "e9LoginStrategy", "泛微单点登录策略"),
NAME(30, "Name", "nameLoginStrategy", "用户名登录");
private final int value;
private final String code;

@ -23,6 +23,12 @@ public class SysLoginModel {
@ApiParam(value = "登录名")
private String loginName;
@ApiParam(value = "手机号")
private String phoneNumber;
@ApiParam(value = "钉钉临时授权码")
private String dingTalkTmpAuthCode;
@ApiParam(value = "登录密码")
private String loginPwd;

@ -0,0 +1,15 @@
package cn.estsh.i3plus.pojo.screen.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.screen.bean.ScrDataAuth;
import cn.estsh.i3plus.pojo.screen.bean.ScrDataObject;
/**
* @Description :
* @Reference :
* @Author : wei.peng
* @CreateDate : 20-5-28 3:39
* @Modify:
**/
public interface ScrDataAuthRepository extends BaseRepository<ScrDataAuth, Long> {
}
Loading…
Cancel
Save