|
@@ -691,7 +691,9 @@ func (s *subscribePush) getDatasFromMysql(spqp *SubPushQueryParam, starttime, en
|
|
|
}
|
|
|
} else {
|
|
|
for _, v := range stype {
|
|
|
- subtype = append(subtype, P.BidCodeMapping.Subtype[v])
|
|
|
+ if P.BidCodeMapping.Subtype[v] != "" {
|
|
|
+ subtype = append(subtype, P.BidCodeMapping.Subtype[v])
|
|
|
+ }
|
|
|
}
|
|
|
if len(subtype) == 1 {
|
|
|
subtype = append(subtype, "9999")
|
|
@@ -966,7 +968,6 @@ func getDetail(Mgo_bidding mongodb.MongodbSim, bidding, bidding_back string, sub
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-//
|
|
|
func getInfosByIds(Mgo_bidding mongodb.MongodbSim, bidding, bidding_back string, isDetail bool, ids []string) map[string]map[string]interface{} {
|
|
|
infos := map[string]map[string]interface{}{}
|
|
|
//redis
|