router/router.go
@@ -63,7 +63,7 @@ locationAPI.DELETE("deleteLocation/:id", locationController.DeleteLocation) //删除位置 } // 作业类型 // 业务类型 operationTypeController := new(controllers.OperationTypeController) operationTypeAPI := r.Group(urlPrefix + "/operationType") { @@ -81,6 +81,7 @@ operationAPI.POST("operation", operationController.Add) operationAPI.PUT("operation/:id", operationController.Update) operationAPI.DELETE("operation/:id", operationController.Delete) operationAPI.PUT("Finish/:id", operationController.Finish) } //产品