From a10d59528a36dc5a1fbe4d9caa6b4abf25ab828c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 12 一月 2024 10:49:08 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- router/router.go | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/router/router.go b/router/router.go index 27e49d9..3e6ce21 100644 --- a/router/router.go +++ b/router/router.go @@ -81,11 +81,18 @@ 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) operationAPI.PUT("finish/:id", operationController.Finish) 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) } @@ -111,6 +118,8 @@ productAPI.PUT("finishDisuse/:id", productController.FinishDisuse) //鎶ュ簾楠岃瘉 productAPI.POST("updateDisuse", productController.UpdateDisuse) //淇敼鎶ュ簾淇℃伅 productAPI.POST("listHistory", productController.ListHistory) //浜у搧浣嶇疆鍘嗗彶璁板綍 + productAPI.PUT("cancelDisuse/:id", productController.CancelDisuse) //鍙栨秷鎶ュ簾 + productAPI.GET("getUserInfo", productController.GetUserInfo) //鑾峰彇鐧诲綍鐢ㄦ埛淇℃伅 } @@ -161,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