fix 修复 用户上传头像后无法编辑问题 头像url改为独立字段避免影响
This commit is contained in:
+7
-2
@@ -60,11 +60,16 @@ public class ProfileUserVo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String gender;
|
private String gender;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 头像 OSS ID
|
||||||
|
*/
|
||||||
|
private Long avatar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 头像地址
|
* 头像地址
|
||||||
*/
|
*/
|
||||||
@Translation(type = TransConstant.OSS_ID_TO_URL)
|
@Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "avatar")
|
||||||
private Long avatar;
|
private String avatarUrl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 最后登录IP
|
* 最后登录IP
|
||||||
|
|||||||
+7
-2
@@ -70,11 +70,16 @@ public class SysUserVo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String gender;
|
private String gender;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 头像 OSS ID
|
||||||
|
*/
|
||||||
|
private Long avatar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 头像地址
|
* 头像地址
|
||||||
*/
|
*/
|
||||||
@Translation(type = TransConstant.OSS_ID_TO_URL)
|
@Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "avatar")
|
||||||
private Long avatar;
|
private String avatarUrl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 密码
|
* 密码
|
||||||
|
|||||||
Reference in New Issue
Block a user