| | |
| | | productAPI.POST("updateProduct", productController.UpdateProduct) // 修改产品详情 |
| | | productAPI.DELETE("deleteProduct/:id", productController.DeleteProduct) // 通过ID获删除产品 |
| | | productAPI.DELETE("deleteProductByBarCode/:barCode", productController.DeleteProductByBarCode) // 通过条形码删除产品 |
| | | productAPI.GET("downloadInputFormat", productController.DownloadInputFormat) // 下载导入物料模板 |
| | | |
| | | productAPI.POST("addProductCategory", productController.AddProductCategory) //添加产品类型 |
| | | productAPI.POST("getProductCategoryList", productController.GetProductCategoryList) //获取产品类型列表 |