新增头像返回

This commit is contained in:
aikai 2024-07-04 17:10:16 +08:00
parent 87e7bb7437
commit d4ac18dcbb
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,8 @@ public class UserSimpleRespVO {
@Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
private String nickname;
@Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png")
private String avatar;
@Schema(description = "部门ID", example = "我是一个用户")
private Long deptId;

View File

@ -59,6 +59,7 @@
resultType="cn.iocoder.yudao.module.system.controller.admin.user.vo.user.UserSimpleRespVO">
select a.id,
a.nickname,
a.avatar,
a.dept_id,
c.name deptName
from system_users as a