[功能]:1、添加http通用接口forest 2、引入justoauth 处理第三方登录 3、大致完成qq登录代码 4、前端界面修改适配第三方登录逻辑

This commit is contained in:
LemonTree
2022-04-20 18:31:04 +08:00
parent bb2cdebac3
commit 9bdcf7a60d
25 changed files with 2681 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package com.ruoyi.common.core.domain.model;
/**
* 用户登录对象
*
* @author ruoyi
*/
public class BindLoginBody extends LoginBody
{
/**
* 绑定id
*/
private String bindId;
public String getBindId() {
return bindId;
}
public void setBindId(String bindId) {
this.bindId = bindId;
}
}

View File

@@ -0,0 +1,21 @@
package com.ruoyi.common.core.domain.model;
/**
* 用户注册对象
*
* @author ruoyi
*/
public class BindRegisterBody extends RegisterBody {
/**
* 绑定id
*/
private String bindId;
public String getBindId() {
return bindId;
}
public void setBindId(String bindId) {
this.bindId = bindId;
}
}

View File

@@ -0,0 +1,10 @@
package com.ruoyi.common.enums;
/**
* 第三方登录平台
*
* @author json
*/
public enum SocialPlatformType {
Wechat, QQ
}