|
@@ -150,7 +150,7 @@ func (nIndex *NewIndex) NewIndex() error {
|
|
|
}
|
|
|
nIndex.T["projectZone"] = projectZone
|
|
|
//中标喜报
|
|
|
- nIndex.T["winnerGlad"] = WinnerGladTidings()
|
|
|
+ nIndex.T["winnerGlad"] = WinnerGladTidings(10)
|
|
|
//热门行业 ////重点招标
|
|
|
nIndex.T["hotIndustry"] = GetHotIndustry()
|
|
|
//热门中标企业
|
|
@@ -313,7 +313,7 @@ func GetIndexProjectList(typ, pageSize int) (data []map[string]interface{}, type
|
|
|
return nil, types
|
|
|
}
|
|
|
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")
|
|
|
data = append(data, v)
|
|
|
}
|