From 05393ebd162ae18ad7b567bc9e7767cab7fad137 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 28 三月 2024 15:19:25 +0800 Subject: [PATCH] 销售明细单修改 --- router/contact.go | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/router/contact.go b/router/contact.go index 89cb965..f2f7d16 100644 --- a/router/contact.go +++ b/router/contact.go @@ -1,19 +1,19 @@ -package router - -import ( - v1 "aps_crm/api/v1" - "github.com/gin-gonic/gin" -) - -type ContactRouter struct{} - -func (r *ContactRouter) InitContactRouter(router *gin.RouterGroup) { - contactRouter := router.Group("contact") - contactApi := v1.ApiGroup.ContactApi - { - contactRouter.POST("add", contactApi.Add) // 娣诲姞鑱旂郴浜� - contactRouter.DELETE("delete/:id", contactApi.Delete) // 鍒犻櫎鑱旂郴浜� - contactRouter.PUT("update", contactApi.Update) // 鏇存柊鑱旂郴浜� - contactRouter.GET("list", contactApi.List) // 鑾峰彇鑱旂郴浜哄垪琛� - } -} +package router + +import ( + v1 "aps_crm/api/v1" + "github.com/gin-gonic/gin" +) + +type ContactRouter struct{} + +func (r *ContactRouter) InitContactRouter(router *gin.RouterGroup) { + contactRouter := router.Group("contact") + contactApi := v1.ApiGroup.ContactApi + { + contactRouter.POST("add", contactApi.Add) // 娣诲姞鑱旂郴浜� + contactRouter.DELETE("delete", contactApi.Delete) // 鍒犻櫎鑱旂郴浜� + contactRouter.PUT("update", contactApi.Update) // 鏇存柊鑱旂郴浜� + contactRouter.POST("list", contactApi.List) // 鑾峰彇鑱旂郴浜哄垪琛� + } +} \ No newline at end of file -- Gitblit v1.8.0