From 5ca57d639fd34d1fb5046626b843be39e5552706 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Sun, 17 Mar 2024 00:32:47 +0800 Subject: [PATCH 1/2] ret --- app/mix/service/apiservice.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/mix/service/apiservice.go b/app/mix/service/apiservice.go index e66d4715..cfafedb5 100644 --- a/app/mix/service/apiservice.go +++ b/app/mix/service/apiservice.go @@ -1129,11 +1129,6 @@ func (s *Service) ApiGetStreamerExtListFuzzilyByUserId(ctx *gin.Context, req *st return } - logger.Info("length of account_list : %v", len(accountList)) - for _, item := range accountList { - logger.Info("user_id_string : %v", util.DerefString(item.UserIdString)) - } - //2.将accountlist扩张为StreamerExts streamerExts := make([]streamerproto.StreamerExtVO, len(accountList)) for i := range streamerExts { From 776f52c177b834098ade390828ee5670f841f66b Mon Sep 17 00:00:00 2001 From: Leufolium Date: Sun, 17 Mar 2024 00:42:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8A=A0json=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbstruct/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbstruct/account.go b/dbstruct/account.go index 78b480f4..b79ae242 100644 --- a/dbstruct/account.go +++ b/dbstruct/account.go @@ -25,7 +25,7 @@ type Account struct { DevType *int32 `bson:"dev_type"` // 注册来源 Latitude *float64 `bson:"latitude"` // 纬度 Longitude *float64 `bson:"longitude"` // 经度 - UserIdString *string `bson:"user_id_string"` // string型user_id,为模糊匹配设置 + UserIdString *string `json:"user_id_string" bson:"user_id_string"` // string型user_id,为模糊匹配设置 Ct *int64 `json:"ct" bson:"ct"` // 创建时间 Ut *int64 `json:"ut" bson:"ut"` // 更新时间 DelFlag *int64 `json:"del_flag" bson:"del_flag"` // 删除标记,0-否,1-是