dsmzx
2024-06-13 f72fb9ca31fbf27b4abbc0156e60ea162f58df81
router/router.go
@@ -153,9 +153,15 @@
   reportFormsController := new(controllers.ReportFormsController)
   reportFormsAPI := r.Group(urlPrefix + "/forms")
   {
      reportFormsAPI.POST("getInventoryForms", reportFormsController.GetInventoryForms) //获取库存报表
      reportFormsAPI.POST("getHistory", reportFormsController.GetHistory)               //获取库存历史
      reportFormsAPI.POST("getLocationForms", reportFormsController.GetLocationForms)   //获取位置报表
      reportFormsAPI.POST("getInventoryForms", reportFormsController.GetInventoryForms)           //获取库存报表
      reportFormsAPI.POST("downloadInventoryForms", reportFormsController.DownloadInventoryForms) //下载库存报表
      reportFormsAPI.POST("getHistory", reportFormsController.GetHistory)                         //获取库存历史
      reportFormsAPI.POST("downloadHistory", reportFormsController.DownloadHistory)               //下载库存报表
      reportFormsAPI.POST("getLocationForms", reportFormsController.GetLocationForms)             //获取位置报表
      reportFormsAPI.POST("downloadLocationForms", reportFormsController.DownloadLocationForms)   //下载位置报表
      reportFormsAPI.POST("monthStats", reportFormsController.MonthStats)                         //获取月度统计报表
      reportFormsAPI.POST("downloadMonthStats", reportFormsController.DownloadMonthStats)         //下载月度统计报表
      reportFormsAPI.POST("doMonthStats", reportFormsController.DoMonthStats)                     //手动跑月度统计库存报表
   }
   //重订货规则