mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
[功能]:1、添加http通用接口forest 2、引入justoauth 处理第三方登录 3、大致完成qq登录代码 4、前端界面修改适配第三方登录逻辑
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.ruoyi.common.enums;
|
||||
|
||||
/**
|
||||
* 第三方登录平台
|
||||
*
|
||||
* @author json
|
||||
*/
|
||||
public enum SocialPlatformType {
|
||||
Wechat, QQ
|
||||
}
|
||||
Reference in New Issue
Block a user