|
@@ -313,7 +313,7 @@ func GetIndexProjectList(typ, pageSize int) (data []map[string]interface{}, type
|
|
return nil, types
|
|
return nil, types
|
|
}
|
|
}
|
|
for _, v := range res.List() {
|
|
for _, v := range res.List() {
|
|
- v["bid_id"] = encrypt.EncodeArticleId2ByCheck(common.InterfaceToStr(v["bid_id"]))
|
|
|
|
|
|
+ v["_id"] = encrypt.EncodeArticleId2ByCheck(common.InterfaceToStr(v["bid_id"]))
|
|
v["publish_time"] = time.Unix(common.Int64All(v["publish_time"]), 0).Format("2006-01-02")
|
|
v["publish_time"] = time.Unix(common.Int64All(v["publish_time"]), 0).Format("2006-01-02")
|
|
data = append(data, v)
|
|
data = append(data, v)
|
|
}
|
|
}
|