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/serviceFollowup.go | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/router/serviceFollowup.go b/router/serviceFollowup.go
index 18c728b..0729418 100644
--- a/router/serviceFollowup.go
+++ b/router/serviceFollowup.go
@@ -1,19 +1,19 @@
-package router
-
-import (
- v1 "aps_crm/api/v1"
- "github.com/gin-gonic/gin"
-)
-
-type ServiceFollowupRouter struct{}
-
-func (s *ServiceFollowupRouter) InitServiceFollowupRouter(router *gin.RouterGroup) {
- serviceFollowupRouter := router.Group("serviceFollowup")
- serviceFollowupApi := v1.ApiGroup.ServiceFollowupApi
- {
- serviceFollowupRouter.POST("add", serviceFollowupApi.Add) // 娣诲姞鏈嶅姟璺熻繘
- serviceFollowupRouter.DELETE("delete/:id", serviceFollowupApi.Delete) // 鍒犻櫎鏈嶅姟璺熻繘
- serviceFollowupRouter.PUT("update", serviceFollowupApi.Update) // 鏇存柊鏈嶅姟璺熻繘
- serviceFollowupRouter.GET("list", serviceFollowupApi.List) // 鑾峰彇鏈嶅姟璺熻繘鍒楄〃
- }
-}
+package router
+
+import (
+ v1 "aps_crm/api/v1"
+ "github.com/gin-gonic/gin"
+)
+
+type ServiceFollowupRouter struct{}
+
+func (s *ServiceFollowupRouter) InitServiceFollowupRouter(router *gin.RouterGroup) {
+ serviceFollowupRouter := router.Group("serviceFollowup")
+ serviceFollowupApi := v1.ApiGroup.ServiceFollowupApi
+ {
+ serviceFollowupRouter.POST("add", serviceFollowupApi.Add) // 娣诲姞鏈嶅姟璺熻繘
+ serviceFollowupRouter.DELETE("delete", serviceFollowupApi.Delete) // 鍒犻櫎鏈嶅姟璺熻繘
+ serviceFollowupRouter.PUT("update", serviceFollowupApi.Update) // 鏇存柊鏈嶅姟璺熻繘
+ serviceFollowupRouter.POST("list", serviceFollowupApi.List) // 鑾峰彇鍥炶鍗曠鐞嗗垪琛�
+ }
+}
--
Gitblit v1.8.0