From a86df1054649f0594e4c77174fd254b8abd800ca Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 15 八月 2023 11:22:10 +0800
Subject: [PATCH] fix
---
router/client.go | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/router/client.go b/router/client.go
index 7111685..3563b8d 100644
--- a/router/client.go
+++ b/router/client.go
@@ -12,8 +12,8 @@
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.GET("list", clientApi.List) // 鑾峰彇瀹㈡埛鍒楄〃
+ clientRouter.POST("list", clientApi.List) // 鑾峰彇瀹㈡埛鍒楄〃
}
-}
+}
\ No newline at end of file
--
Gitblit v1.8.0