From a06efe5575d6c66f9fc6dca991ae40621cf3cfff Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期一, 13 十一月 2023 11:16:26 +0800
Subject: [PATCH] 修改文件服务器端口号
---
router/router.go | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/router/router.go b/router/router.go
index b4dac9f..fedd7c4 100644
--- a/router/router.go
+++ b/router/router.go
@@ -86,6 +86,7 @@
operationAPI.DELETE("operation/:id", operationController.Delete)
operationAPI.PUT("finish/:id", operationController.Finish)
operationAPI.POST("listTransfer", operationController.ListTransfer)
+ operationAPI.GET("getLogisticCompanyList", operationController.GetLogisticCompanyList)
}
@@ -155,5 +156,11 @@
reorderRuleAPI.POST("orderAgain", reorderRuleController.OrderAgain) //鍐嶈涓�娆�
}
+ attachmentController := new(controllers.AttachmentController)
+ attachmentAPI := r.Group(urlPrefix + "/attachment")
+ {
+ attachmentAPI.POST("uploadFiles", attachmentController.UploadFiles) //涓婁紶鏂囦欢
+ }
+
return r
}
--
Gitblit v1.8.0