From 029d819f34407022c9cabbd1cc9a7d78b1b428c8 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期六, 26 八月 2023 15:38:19 +0800 Subject: [PATCH] fix --- router/test/product.go | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/router/test/product.go b/router/test/product.go index d3658b6..5286a84 100644 --- a/router/test/product.go +++ b/router/test/product.go @@ -3,7 +3,6 @@ import ( "github.com/gin-gonic/gin" "srm/api/v1" - "srm/middleware" ) type ProductRouter struct { @@ -11,7 +10,7 @@ // InitProductRouter 鍒濆鍖� Product 璺敱淇℃伅 func (s *ProductRouter) InitProductRouter(Router *gin.RouterGroup) { - pRouter := Router.Group("p").Use(middleware.OperationRecord()) + pRouter := Router.Group("p") pRouterWithoutRecord := Router.Group("p") var pApi = v1.ApiGroupApp.TestApiGroup.ProductApi { -- Gitblit v1.8.0