WH01243 2 жил өмнө
parent
commit
4959908c3a

+ 2 - 2
service/message_mail_box.go

@@ -126,7 +126,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 		if in.NameSearch == "" || oneNameSql != "" {
 			oneSql = fmt.Sprintf(`(SELECT
 							a.your_position_id AS id,
-							1 AS userType,
+							2 AS userType,
 							c.nickname AS name,
 							c.headimg,
 							d.content,
@@ -149,7 +149,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 		serviceSql := fmt.Sprintf(` (
 						SELECT
 							a.ent_id AS id,
-							2 AS userType,
+							1 AS userType,
 							b.nickname AS name,
 							b.headimage as headimg,
 							c.content,