LingxinMeng 6 月之前
父節點
當前提交
0f1919ff77
共有 2 個文件被更改,包括 4 次插入0 次删除
  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)
 		}
 	}
 	// 端口