浏览代码

更新图表描述人的真实姓名

xyxie 5 天之前
父节点
当前提交
6f77d1f262
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/chart_info.go

+ 1 - 1
services/chart_info.go

@@ -582,7 +582,7 @@ func getChartDescriptionWithAdminNameByChartInfoId(chartInfoId int) (list []*mod
 	}
 	}
 	adminMap := make(map[int]string)
 	adminMap := make(map[int]string)
 	for _, v := range adminList {
 	for _, v := range adminList {
-		adminMap[v.AdminId] = v.AdminName
+		adminMap[v.AdminId] = v.RealName
 	}
 	}
 	for _, v := range descriptionList {
 	for _, v := range descriptionList {
 		adminName, ok := adminMap[v.SysUserId]
 		adminName, ok := adminMap[v.SysUserId]