| | |
| | | operationTypeAPI := r.Group(urlPrefix + "/operationType") |
| | | { |
| | | operationTypeAPI.GET("operationType", operationTypeController.List) // 获取作业类型列表 |
| | | operationTypeAPI.GET("listTransfer", operationTypeController.ListTransfer) // 获取作业类型列表 |
| | | operationTypeAPI.POST("operationType", operationTypeController.Add) // 新增作业类型 |
| | | operationTypeAPI.PUT("operationType/:id", operationTypeController.Update) // 修改作业类型 |
| | | operationTypeAPI.DELETE("operationType/:id", operationTypeController.Delete) // 删除作业类型 |
| | |
| | | operationAPI.POST("update", operationController.Update) |
| | | operationAPI.DELETE("operation/:id", operationController.Delete) |
| | | operationAPI.PUT("finish/:id", operationController.Finish) |
| | | operationAPI.POST("listAll", operationController.ListAll) |
| | | operationAPI.POST("listTransfer", operationController.ListTransfer) |
| | | |
| | | } |
| | | |