MoveCategoryController

@RestController
@RequestMapping(value = ["/move-category"])
class MoveCategoryController(moveCategoryService: MoveCategoryService)

招式类别控制器

Constructors

Link copied to clipboard
constructor(moveCategoryService: MoveCategoryService)

Functions

Link copied to clipboard
@DeleteMapping(value = ["/{id:\d+}"])
fun deleteById(@PathVariable id: Long)
Link copied to clipboard
@GetMapping(value = ["/list"])
fun listMoveCategories(@ModelAttribute specification: MoveCategorySpecification): List<MoveCategoryView>
Link copied to clipboard
@PostMapping
fun save(@Valid @RequestBody command: SaveMoveCategoryInput): MoveCategoryView
Link copied to clipboard
@PutMapping
fun update(@Valid @RequestBody command: UpdateMoveCategoryInput): MoveCategoryView