From 842a1a88687dfe3893cc765b3886055f0535deb3 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期二, 01 八月 2023 15:29:56 +0800 Subject: [PATCH] fix --- router/client.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/router/client.go b/router/client.go index 1302ef8..3563b8d 100644 --- a/router/client.go +++ b/router/client.go @@ -12,7 +12,7 @@ clientApi := v1.ApiGroup.ClientApi { clientRouter.POST("add", clientApi.Add) // 娣诲姞瀹㈡埛 - clientRouter.DELETE("delete/:id", clientApi.Delete) // 鍒犻櫎瀹㈡埛 + clientRouter.DELETE("delete", clientApi.Delete) // 鍒犻櫎瀹㈡埛 clientRouter.PUT("update", clientApi.Update) // 鏇存柊瀹㈡埛 clientRouter.POST("list", clientApi.List) // 鑾峰彇瀹㈡埛鍒楄〃 } -- Gitblit v1.8.0