|
@@ -40,6 +40,7 @@ var (
|
|
|
14: "/list/xxxm/",
|
|
|
15: "/list/gjxm/",
|
|
|
16: "/list/sjxm/",
|
|
|
+ 8: "/list/stype/ZFCG.html",
|
|
|
}
|
|
|
)
|
|
|
|
|
@@ -202,8 +203,8 @@ func (nIndex *NewIndex) NewIndex() error {
|
|
|
"url": fmt.Sprintf("%s", BiddingTypeUrl[v]),
|
|
|
})
|
|
|
}
|
|
|
- //采购意向
|
|
|
- procure, procureName := GetIndexProjectList(5, 10)
|
|
|
+ //政府采购
|
|
|
+ procure, procureName := GetIndexProjectList(8, 10)
|
|
|
bidTrends = append(bidTrends, map[string]interface{}{
|
|
|
"listData": procure,
|
|
|
"types": procureName,
|
|
@@ -376,6 +377,8 @@ func GetIndexProjectList(typ, pageSize int) (data []map[string]interface{}, type
|
|
|
types = "国家级项目"
|
|
|
case 16:
|
|
|
types = "省级项目"
|
|
|
+ case 8:
|
|
|
+ types = "政府采购"
|
|
|
}
|
|
|
redidKey := fmt.Sprintf("pcIndexProjectZone_%d", typ)
|
|
|
redisArr, _ := redis.Get(RedisNameNew, redidKey).([]interface{})
|