mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-13 15:43:43 +08:00
fix 修复 用户上传头像后无法编辑问题 头像url改为独立字段避免影响
This commit is contained in:
parent
23387d71d8
commit
126380e9f5
@ -60,11 +60,16 @@ public class ProfileUserVo implements Serializable {
|
||||
*/
|
||||
private String gender;
|
||||
|
||||
/**
|
||||
* 头像 OSS ID
|
||||
*/
|
||||
private Long avatar;
|
||||
|
||||
/**
|
||||
* 头像地址
|
||||
*/
|
||||
@Translation(type = TransConstant.OSS_ID_TO_URL)
|
||||
private Long avatar;
|
||||
@Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "avatar")
|
||||
private String avatarUrl;
|
||||
|
||||
/**
|
||||
* 最后登录IP
|
||||
|
||||
@ -70,11 +70,16 @@ public class SysUserVo implements Serializable {
|
||||
*/
|
||||
private String gender;
|
||||
|
||||
/**
|
||||
* 头像 OSS ID
|
||||
*/
|
||||
private Long avatar;
|
||||
|
||||
/**
|
||||
* 头像地址
|
||||
*/
|
||||
@Translation(type = TransConstant.OSS_ID_TO_URL)
|
||||
private Long avatar;
|
||||
@Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "avatar")
|
||||
private String avatarUrl;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
|
||||
Loading…
Reference in New Issue
Block a user