|
@@ -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
|