LingxinMeng hace 6 meses
padre
commit
0f1919ff77
Se han modificado 2 ficheros con 4 adiciones y 0 borrados
  1. 3 0
      amd64/score_server/handler/h_collect_limit.go
  2. 1 0
      amd64/score_server/main.go

+ 3 - 0
amd64/score_server/handler/h_collect_limit.go

@@ -66,3 +66,6 @@ func TriggerCollect(c *gin.Context) {
 		Msg:  "不允许采集。",
 	})
 }
+func CanCollectPlus(c *gin.Context) {
+
+}

+ 1 - 0
amd64/score_server/main.go

@@ -60,6 +60,7 @@ func main() {
 		monitorPrefix := router.Group("/web_server/collect_limit") // todo web_server会改成score_server,后续修改
 		{
 			monitorPrefix.POST("/can_collect", handler.TriggerCollect)
+			monitorPrefix.POST("/can_collect_plus", handler.CanCollectPlus)
 		}
 	}
 	// 端口