mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-06 12:28:10 +00:00
修正个人中心第三方应用绑定中的一些小问题:
1. system模块URL错误 2. RemoteSocialBo未实现序列号接口 3. SysSocialVo缺少AutoMapper配置
This commit is contained in:
@@ -31,7 +31,7 @@ import java.util.List;
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/system/client")
|
||||
@RequestMapping("/client")
|
||||
public class SysClientController extends BaseController {
|
||||
|
||||
private final ISysClientService sysClientService;
|
||||
|
@@ -24,7 +24,7 @@ import java.util.List;
|
||||
@Validated
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/system/social")
|
||||
@RequestMapping("/social")
|
||||
public class SysSocialController extends BaseController {
|
||||
|
||||
private final ISysSocialService socialUserService;
|
||||
|
@@ -3,11 +3,16 @@ package org.dromara.system.domain.vo;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import io.github.linpeilie.annotations.AutoMappers;
|
||||
import lombok.Data;
|
||||
import org.dromara.system.api.domain.bo.RemoteSocialBo;
|
||||
import org.dromara.system.api.domain.vo.RemoteSocialVo;
|
||||
import org.dromara.system.domain.SysSocial;
|
||||
import org.dromara.system.domain.bo.SysSocialBo;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
/**
|
||||
@@ -17,7 +22,10 @@ import java.io.Serializable;
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
@AutoMapper(target = SysSocial.class)
|
||||
@AutoMappers({
|
||||
@AutoMapper(target = SysSocial.class, reverseConvertGenerate = false),
|
||||
@AutoMapper(target = RemoteSocialVo.class)
|
||||
})
|
||||
public class SysSocialVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
@@ -161,5 +169,9 @@ public class SysSocialVo implements Serializable {
|
||||
@ExcelProperty(value = "Twitter平台用户的附带属性,部分平台可能没有")
|
||||
private String oauthTokenSecret;
|
||||
|
||||
|
||||
/**
|
||||
* 显示绑定时间
|
||||
*/
|
||||
@ExcelProperty(value = "绑定时间")
|
||||
private Date createTime;
|
||||
}
|
||||
|
Reference in New Issue
Block a user