router/router.go
@@ -51,7 +51,7 @@ warehouseAPI.DELETE("warehouse/:id", warehouseController.Delete) // 删除仓库 } // 作业类型 // 业务类型 operationTypeController := new(controllers.OperationTypeController) operationTypeAPI := r.Group(urlPrefix + "/operationType") { @@ -69,6 +69,7 @@ operationAPI.POST("operation", operationController.Add) operationAPI.PUT("operation/:id", operationController.Update) operationAPI.DELETE("operation/:id", operationController.Delete) operationAPI.PUT("Finish/:id", operationController.Finish) } //产品