liujiandao
2023-09-27 b3a318b7f707ca49fa9127881bbe709654eaa761
router/router.go
@@ -119,5 +119,14 @@
      locationProductAPI.DELETE("operationType/:id", locationProductController.Delete) // 删除上架规则
   }
   //报表
   reportFormsController := new(controllers.ReportFormsController)
   reportFormsAPI := r.Group(urlPrefix + "/forms")
   {
      reportFormsAPI.POST("getInventoryForms", reportFormsController.GetInventoryForms) //获取库存报表
      reportFormsAPI.POST("getHistory", reportFormsController.GetHistory)               //获取库存历史
      reportFormsAPI.POST("getLocationForms", reportFormsController.GetLocationForms)   //获取位置报表
   }
   return r
}