From 5f0170df9787c6f3ff17cc168b3f2e3f511453f6 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 31 十月 2023 20:04:16 +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