Ver código fonte

Merge branch 'dev/v1.1.49_wjh' of BaseService/jyMicroservices into feature/v1.1.49

wangjianghan 1 ano atrás
pai
commit
a268addc82
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      jyBXSubscribe/rpc/model/push.go

+ 4 - 0
jyBXSubscribe/rpc/model/push.go

@@ -382,6 +382,10 @@ func (s *subscribePush) Datas(spqp *SubPushQueryParam, bsp *ViewCondition) (hasN
 		if err != nil {
 			logx.Info(spqp.UserId, "GetAllCache Error", err)
 		}
+		// 返回信息补正文
+		if allCache != nil && len(allCache.Datas) > 0 && strings.Contains(strings.Join(bsp.SelectType, ","), "detail") {
+			getDetail(allCache)
+		}
 		if err != nil || allCache == nil || allCache.Date != nowFormat || len(allCache.Datas) == 0 {
 			list, countSearch := []*bxsubscribe.SubscribeInfo{}, int64(0)
 			if spqp.IsEnt {