Ver Fonte

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

wangjianghan há 1 ano atrás
pai
commit
9eae08bf67
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      jyBXSubscribe/rpc/model/push.go

+ 1 - 1
jyBXSubscribe/rpc/model/push.go

@@ -686,7 +686,7 @@ func (s *subscribePush) getDatasFromMysql(spqp *SubPushQueryParam, starttime, en
 				for _, v := range topType {
 					toptype = append(toptype, P.BidCodeMapping.Toptype[v])
 				}
-				if len(subtype) == 1 {
+				if len(topType) == 1 {
 					toptype = append(toptype, "9999")
 				}
 			} else {