Forráskód Böngészése

用户类型修改

WH01243 2 éve
szülő
commit
4959908c3a
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      service/message_mail_box.go

+ 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,