From 5b8f003464bd55678862534232228f61745ffafe Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 15 十二月 2023 11:05:35 +0800
Subject: [PATCH] 提示信息修改
---
router/index.go | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/router/index.go b/router/index.go
index 9bccebb..94aae0a 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,6 +184,7 @@
InitReceiptRouter(PrivateGroup)
InitBankAccountRouter(PrivateGroup)
InitPaymentTypeRouter(PrivateGroup)
+ InitRefundTypeRouter(PrivateGroup)
InitFileRouter(PrivateGroup)
InitInvoiceRouter(PrivateGroup)
InitInvoiceStatusRouter(PrivateGroup)
@@ -192,5 +194,11 @@
routerGroup.InitCollectionProjectionRouter(PrivateGroup)
routerGroup.InitContactInformationRouter(PrivateGroup)
}
+ codeGroup := PrivateGroup.Group("code")
+ codeApi := v1.CodeApi{}
+ {
+ codeGroup.GET("getCodeList", codeApi.GetCodeList) //鑾峰彇缂栫爜鍒楄〃
+ codeGroup.POST("getAutoCode", codeApi.GetAutoCode) //鑾峰彇缂栫爜鍒楄〃
+ }
return Router
}
--
Gitblit v1.8.0