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/index.go | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/router/index.go b/router/index.go
index 9bccebb..c9d55be 100644
--- a/router/index.go
+++ b/router/index.go
@@ -1,6 +1,7 @@
package router
import (
+ v1 "aps_crm/api/v1"
"aps_crm/conf"
_ "aps_crm/docs"
"aps_crm/middleware"
@@ -192,5 +193,10 @@
routerGroup.InitCollectionProjectionRouter(PrivateGroup)
routerGroup.InitContactInformationRouter(PrivateGroup)
}
+ codeGroup := PrivateGroup.Group("code")
+ codeApi := v1.CodeApi{}
+ {
+ codeGroup.GET("getCodeList", codeApi.GetCodeList) //鑾峰彇缂栫爜鍒楄〃
+ }
return Router
}
--
Gitblit v1.8.0