翻译userName,RPC报错,修复
yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/logger/dto/OperateLogRespDTO.java 翻译userName,RPC报错,修复 Signed-off-by: 口口口 <17975121@qq.com>pull/134/head
parent
a4ca9800a4
commit
a4abdefa60
|
@ -18,7 +18,7 @@ public class OperateLogRespDTO implements VO {
|
||||||
@Schema(description = "链路追踪编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "89aca178-a370-411c-ae02-3f0d672be4ab")
|
@Schema(description = "链路追踪编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "89aca178-a370-411c-ae02-3f0d672be4ab")
|
||||||
private String traceId;
|
private String traceId;
|
||||||
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
|
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
|
||||||
@Trans(type = TransType.RPC, targetClassName = "cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO",
|
@Trans(type = TransType.AUTO_TRANS, key = AdminUserApi.PREFIX,
|
||||||
fields = "nickname", ref = "userName")
|
fields = "nickname", ref = "userName")
|
||||||
private Long userId;
|
private Long userId;
|
||||||
@Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
|
@Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
|
||||||
|
|
Loading…
Reference in New Issue