@GetMapping(value="/search")
public String getSearchBox(ModelMap model, @ModelAttribute("searchDto") SearchDto searchDto, @RequestParam(defaultValue="1") int paging){
List<SearchDto> searchDtoList = searchService.findSearch(searchDto);
model.addAttribute("result", searchDtoList);
return "admin/searchBox";
}
@GetMapping(value="/test/{testId}", produces="application/json") public List<TestDto> testInvoke(HttpServletRequest request, @ApiParam(name="testId", value="testId", required=true), @PathVariable("testId") String testId) {
List<TestDto> testDtoList = ㅁㄴㅇㄻㄴㄹ service 블라블라;
return testDtoList
}