|
@@ -304,9 +304,8 @@ func LoadBidding(mgo *MongodbSim, dbName, coll, incField string, startTime, maxS
|
|
if util.IntAll(queryField["detail"]) > 0 {
|
|
if util.IntAll(queryField["detail"]) > 0 {
|
|
for _, temp := range res {
|
|
for _, temp := range res {
|
|
_id := ObjToString(temp["_id"])
|
|
_id := ObjToString(temp["_id"])
|
|
- if ossAddr != "" {
|
|
|
|
- repl, err := client.GetBidDetailByRpc(ossAddr, &entity.Args{"detail", _id})
|
|
|
|
- if err != nil {
|
|
|
|
|
|
+ if util.ObjToString(temp["detail"]) == "" && ossAddr != "" {
|
|
|
|
+ if repl, err := client.GetBidDetailByRpc(ossAddr, &entity.Args{"detail", _id}); err != nil {
|
|
temp["detail"] = repl.Data
|
|
temp["detail"] = repl.Data
|
|
}
|
|
}
|
|
}
|
|
}
|