This commit is contained in:
2025-05-12 14:13:25 +09:00
parent 55997855f6
commit cacdef44d7
27 changed files with 94 additions and 6 deletions

View File

@ -0,0 +1,23 @@
package co.jp.app.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import co.jp.app.service.PetService;
@Controller
public class DownloadController {
@Autowired
private PetService service;
@GetMapping("/api/dogs/pet")
public String downloadById(@RequestParam List<Integer> id) {
service.getPetByID(id);
return "pet";
}
}