This commit is contained in:
2026-01-23 17:41:45 +08:00
parent a146fd68a9
commit 13c45dcedb
15 changed files with 897 additions and 76 deletions

View File

@@ -0,0 +1,15 @@
package com.example.demo.controller;
import com.example.demo.entity.Author;
import com.example.demo.repository.AuthorRepository;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/authors")
public class AuthorController extends BaseController<Author, Long> {
public AuthorController(AuthorRepository repository) {
super(repository);
}
}