|
@@ -66,7 +66,7 @@ func (l *GetSubListLogic) GetSubList(in *bxsubscribe.SubscribeInfosReq) (*bxsubs
|
|
|
}*/
|
|
|
hasNextPage, total, list := model.NewSubscribePush(in.UserType).Datas(spqp)
|
|
|
start1 := time.Now().Unix()
|
|
|
- logx.Info("1查询数据用户", start1-start)
|
|
|
+ logx.Info("1、查询数据用户", start1-start)
|
|
|
//hasNextPage, total, list = false, 0, []*bxsubscribe.SubscribeInfo{}
|
|
|
/*
|
|
|
*无推送记录生成推送记录
|
|
@@ -77,11 +77,11 @@ func (l *GetSubListLogic) GetSubList(in *bxsubscribe.SubscribeInfosReq) (*bxsubs
|
|
|
hasNextPage, total, list = model.NewSubscribePush(in.UserType).DefaultDatas(spqp)
|
|
|
}
|
|
|
start2 := time.Now().Unix()
|
|
|
- logx.Info("2查询数据用户", start2-start1)
|
|
|
+ logx.Info("2、查询数据用户", start2-start1)
|
|
|
//查询是否收藏
|
|
|
model.NewSubscribePush(in.UserType).MakeCollection(in.UserId, list)
|
|
|
start3 := time.Now().Unix()
|
|
|
- logx.Info("3查询数据用户", start3-start2)
|
|
|
+ logx.Info("3、查询数据用户", start3-start2)
|
|
|
logx.Info("总共查询数据用户", start3-start)
|
|
|
return &bxsubscribe.SubscribeInfosResp{
|
|
|
Data: &bxsubscribe.SubscribeData{
|