Sfoglia il codice sorgente

Merge branch 'dev/v1.2.6_dx' of SocialPlatform/messageCenter into feature/v1.2.6

renjiaojiao 2 anni fa
parent
commit
7db49b12f6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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