From 34ef7217a034599217a7fdd1e28e1ae6910e1b4b Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 11 十月 2023 20:15:21 +0800 Subject: [PATCH] 菜单获取编码规则 --- router/index.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/router/index.go b/router/index.go index ea98b63..2cbe48e 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" @@ -183,5 +184,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