From 015c07410b59bafd606bd4f567a61355c4f15958 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期五, 03 十一月 2023 11:37:20 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- router/router.go | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/router/router.go b/router/router.go index 4ac8ab8..7d527e8 100644 --- a/router/router.go +++ b/router/router.go @@ -61,6 +61,7 @@ locationAPI.POST("updateLocation", locationController.UpdateLocation) //淇敼浣嶇疆 locationAPI.GET("getLocationDetails/:id", locationController.GetLocationDetails) //鑾峰彇浣嶇疆璇︽儏 locationAPI.DELETE("deleteLocation/:id", locationController.DeleteLocation) //鍒犻櫎浣嶇疆 + locationAPI.GET("getLocationTreeList", locationController.GetLocationTreeList) //鑾峰彇浣嶇疆鍒楄〃鏍� } // 涓氬姟绫诲瀷 @@ -142,5 +143,16 @@ reportFormsAPI.POST("getLocationForms", reportFormsController.GetLocationForms) //鑾峰彇浣嶇疆鎶ヨ〃 } + //閲嶈璐ц鍒� + reorderRuleController := new(controllers.ReorderRuleController) + reorderRuleAPI := r.Group(urlPrefix + "/reorderRule") + { + reorderRuleAPI.POST("addReorderRule", reorderRuleController.AddReorderRule) //娣诲姞閲嶈璐ц鍒� + reorderRuleAPI.POST("getReorderRuleList", reorderRuleController.GetReorderRuleList) //鑾峰彇閲嶈璐ц鍒欏垪琛� + reorderRuleAPI.POST("getAmountAndPrediction", reorderRuleController.GetAmountAndPrediction) //鑾峰彇鍦ㄥ簱涓庨娴嬫暟閲� + reorderRuleAPI.POST("updateReorderRule", reorderRuleController.UpdateReorderRule) //鏇存柊閲嶈璐ц鍒� + reorderRuleAPI.POST("orderAgain", reorderRuleController.OrderAgain) //鍐嶈涓�娆� + } + return r } -- Gitblit v1.8.0