浏览代码

fix:log日志耗时

duxin 2 年之前
父节点
当前提交
a1a3b2abbf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      service/message_mail_box.go

+ 1 - 0
service/message_mail_box.go

@@ -270,6 +270,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 				return &dataSize, count, err
 			case 2: //用户查询结果
 				phoneMap, _, positionMap := EntPerson(in.EntId, true) //获取企业架构人员名称
+				log.Println("查询列表耗时3:", time.Since(tm))
 				for _, v := range *data {
 					if quitl.IntAll(v["userType"]) == 2 {
 						v["name"] = phoneMap[quitl.InterfaceToStr(v["phone"])]