浏览代码

fix:字段修改

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

+ 1 - 1
service/message_mail_box.go

@@ -304,7 +304,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 			case 2: //用户查询结果
 				phoneMap, _, positionMap := EntPerson(in.EntId, true) //获取企业架构人员名称
 				for _, v := range *data {
-					if quitl.IntAll(v["userType"]) == 1 {
+					if quitl.IntAll(v["userType"]) == 2 {
 						v["name"] = phoneMap[quitl.InterfaceToStr(v["phone"])]
 					} else if quitl.IntAll(v["userType"]) == 3 {
 						var names []string