Browse Source

开标日期处理

6 years ago
parent
commit
e560531a64

BIN
api文档/剑鱼数据开放平台接口_v1.0.5(企业名称) .doc


BIN
api文档/剑鱼数据开放平台接口_v2.0.0(企业名称) .doc


+ 3 - 0
jyservice/src/usermanager/getdata.go

@@ -271,6 +271,9 @@ func getDataByAppid(appid string, i_day, next, i_all int, limittodaykey string,
 			}
 			}
 			delete(v, "_id")
 			delete(v, "_id")
 			delete(v, "bget")
 			delete(v, "bget")
+			if util.Int64All(v["bidopentime"]) == 0 {
+				delete(v, "bidopentime")
+			}
 		}
 		}
 		if len(*data) == QUERY_LIMIT && !blastid {
 		if len(*data) == QUERY_LIMIT && !blastid {
 			i_next = i_next + QUERY_LIMIT
 			i_next = i_next + QUERY_LIMIT