Browse Source

fix:字段修改

duxin 2 năm trước cách đây
mục cha
commit
f3ec18e19f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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