From c1b00128e92e7b53a6b92c7228e19235c7f3be10 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 17 十月 2023 15:13:52 +0800
Subject: [PATCH] fix
---
router/contact.go | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/router/contact.go b/router/contact.go
index 9e1b821..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", contactApi.Delete) // 鍒犻櫎鑱旂郴浜�
- contactRouter.PUT("update", contactApi.Update) // 鏇存柊鑱旂郴浜�
- contactRouter.POST("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