From eaa4218d45fade3a9ac2cfb7ff81cbfceeb650cd Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期四, 11 一月 2024 10:36:23 +0800
Subject: [PATCH] 问题修改

---
 router/router.go |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/router/router.go b/router/router.go
index 50e80d4..3e6ce21 100644
--- a/router/router.go
+++ b/router/router.go
@@ -81,6 +81,7 @@
 	operationAPI := r.Group(urlPrefix + "/operation")
 	{
 		operationAPI.POST("list", operationController.List)
+		operationAPI.GET("getOperationInfo/:id", operationController.GetOperationInfo)
 		operationAPI.POST("operation", operationController.Add)
 		operationAPI.POST("update", operationController.Update)
 		operationAPI.DELETE("operation/:id", operationController.Delete)
@@ -88,6 +89,11 @@
 		operationAPI.POST("listTransfer", operationController.ListTransfer)
 		operationAPI.GET("getLogisticCompanyList", operationController.GetLogisticCompanyList)
 		operationAPI.PUT("cancel/:id", operationController.Cancel)
+		operationAPI.PUT("outputOperation/:id", operationController.OutputOperation)
+		operationAPI.GET("getSupplierList", operationController.GetSupplierList)
+		operationAPI.GET("getClientList", operationController.GetClientList)
+		operationAPI.POST("listByCondition", operationController.ListByCondition)
+
 	}
 
 	//浜у搧
@@ -113,6 +119,7 @@
 		productAPI.POST("updateDisuse", productController.UpdateDisuse)    //淇敼鎶ュ簾淇℃伅
 		productAPI.POST("listHistory", productController.ListHistory)      //浜у搧浣嶇疆鍘嗗彶璁板綍
 		productAPI.PUT("cancelDisuse/:id", productController.CancelDisuse) //鍙栨秷鎶ュ簾
+		productAPI.GET("getUserInfo", productController.GetUserInfo)       //鑾峰彇鐧诲綍鐢ㄦ埛淇℃伅
 
 	}
 
@@ -163,5 +170,12 @@
 		attachmentAPI.POST("uploadFiles", attachmentController.UploadFiles) //涓婁紶鏂囦欢
 	}
 
+	codeApiController := new(controllers.CodeApi)
+	codeApi := r.Group(urlPrefix + "/code")
+	{
+		codeApi.GET("getCodeList", codeApiController.GetCodeList)  //鑾峰彇缂栫爜鍒楄〃
+		codeApi.POST("getAutoCode", codeApiController.GetAutoCode) //鑾峰彇鑷姩缂栫爜
+	}
+
 	return r
 }

--
Gitblit v1.8.0