From 58a7e0370d6fb3c962a9068290b8caa14c16b258 Mon Sep 17 00:00:00 2001 From: nannan00 <17491932+nannan00@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:19:25 +0800 Subject: [PATCH] fix: temp modify --- pkg/api/model/handler/action.go | 2 -- pkg/api/model/handler/query.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/pkg/api/model/handler/action.go b/pkg/api/model/handler/action.go index a2a3ff85..7f27548f 100644 --- a/pkg/api/model/handler/action.go +++ b/pkg/api/model/handler/action.go @@ -123,7 +123,6 @@ func BatchCreateActions(c *gin.Context) { // @Header 200 {string} X-Request-Id "the request id" // @Security AppCode // @Security AppSecret -// @Router /api/v1/systems/{system_id}/actions/{action_id} [put] func UpdateAction(c *gin.Context) { systemID := c.Param("system_id") @@ -256,7 +255,6 @@ func UpdateAction(c *gin.Context) { // @Header 200 {string} X-Request-Id "the request id" // @Security AppCode // @Security AppSecret -// @Router /api/v1/systems/{system_id}/actions/{action_id} [delete] func DeleteAction(c *gin.Context) { systemID := c.Param("system_id") actionID := c.Param("action_id") diff --git a/pkg/api/model/handler/query.go b/pkg/api/model/handler/query.go index 3216be33..d6be5fd2 100644 --- a/pkg/api/model/handler/query.go +++ b/pkg/api/model/handler/query.go @@ -45,8 +45,6 @@ const ( // @Header 200 {string} X-Request-Id "the request id" // @Security AppCode // @Security AppSecret -// @Router /api/v1/systems/{system_id}/query [get] -// //nolint:gocognit func SystemInfoQuery(c *gin.Context) { var query querySerializer