From ac1a0c70c7dc4445c728e40cd2e667eb6a4a6251 Mon Sep 17 00:00:00 2001 From: duyu Date: Thu, 18 Jul 2024 15:05:52 +0800 Subject: [PATCH] test --- app/http/routes/route.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/http/routes/route.go b/app/http/routes/route.go index d02d1ea..4abafb9 100644 --- a/app/http/routes/route.go +++ b/app/http/routes/route.go @@ -80,8 +80,8 @@ func RegisterRoute(router *gin.Engine) { product.POST("/get_by_id", proCon.GetById) product.POST("/search", proCon.Search) product.POST("/create", proCon.Create) - // product.POST("/update", proCon.Update) - // product.POST("/delete", proCon.Delete) + product.POST("/update", proCon.Update) + product.POST("/delete", proCon.Delete) } whitelist := router.Group("/whitelist") @@ -89,8 +89,8 @@ func RegisterRoute(router *gin.Engine) { whitelist.POST("/get_by_id", wlCon.GetById) whitelist.POST("/search", wlCon.Search) whitelist.POST("/create", wlCon.Create) - // whitelist.POST("/update", wlCon.Update) - // whitelist.POST("/delete", wlCon.Delete) + whitelist.POST("/update", wlCon.Update) + whitelist.POST("/delete", wlCon.Delete) } zhilian := router.Group("/zhilian")