| | |
| | | locationAPI.DELETE("deleteLocation/:id", locationController.DeleteLocation) //删除位置 |
| | | } |
| | | |
| | | // 作业类型 |
| | | // 业务类型 |
| | | operationTypeController := new(controllers.OperationTypeController) |
| | | operationTypeAPI := r.Group(urlPrefix + "/operationType") |
| | | { |
| | |
| | | { |
| | | operationAPI.GET("operation", operationController.List) |
| | | operationAPI.POST("operation", operationController.Add) |
| | | operationAPI.PUT("operation/:id", operationController.Update) |
| | | operationAPI.POST("update", operationController.Update) |
| | | operationAPI.DELETE("operation/:id", operationController.Delete) |
| | | operationAPI.PUT("finish/:id", operationController.Finish) |
| | | } |
| | | |
| | | //产品 |