Explorar o código

Merge branch 'dev/v4.8.83.2_rjj' of qmx/jy into hotfix/v4.8.83.2

renjiaojiao hai 1 ano
pai
achega
51bd14b435
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      src/jfw/front/index.go

+ 5 - 2
src/jfw/front/index.go

@@ -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{})