From 318eeae8e8a7d5d6c411152da9ae573335da84a3 Mon Sep 17 00:00:00 2001 From: weike6538 Date: Thu, 3 Jul 2025 10:55:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(system):=20=E5=9C=A8=20AdminUserRespDTO=20?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=20tenantId=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 AdminUserRespDTO 类中添加 tenantId 字段,用于表示租户 ID - 该字段使用 @Schema 注解进行描述,包括 requiredMode 和 example 属性 --- .../yudao/module/system/api/user/dto/AdminUserRespDTO.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/user/dto/AdminUserRespDTO.java b/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/user/dto/AdminUserRespDTO.java index fca6cc8..380968d 100644 --- a/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/user/dto/AdminUserRespDTO.java +++ b/yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/user/dto/AdminUserRespDTO.java @@ -31,4 +31,7 @@ public class AdminUserRespDTO implements VO { @Schema(description = "用户头像", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn/1.png") private String avatar; + @Schema(description = "租户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") + private Long tenantId; + }