|
@@ -438,11 +438,13 @@ func NewIndexbids(session *httpsession.Session, r *http.Request) []map[string]in
|
|
|
v1["budget"] = ConversionMoeny(v1["bidamount"])
|
|
|
}
|
|
|
}
|
|
|
+ if bytes, err := json.Marshal(*lists); err == nil && bytes != nil {
|
|
|
+ _ = redis.PutBytes(RedisNameNew, "jyNewIndexbids", &bytes, 5*60)
|
|
|
+ }
|
|
|
+ return *lists
|
|
|
}
|
|
|
- if bytes, err := json.Marshal(*lists); err == nil && bytes != nil {
|
|
|
- _ = redis.PutBytes(RedisNameNew, "jyNewIndexbids", &bytes, 5*60)
|
|
|
- }
|
|
|
- return *lists
|
|
|
+
|
|
|
+ return nil
|
|
|
}
|
|
|
|
|
|
// 格式输出数据
|