url 수정: /api/**/.do -> /intf/**/*

master
mjkhan21 1 year ago
parent c792c1a4e6
commit 783caae18e

@ -14,7 +14,7 @@ import cokr.xit.interfaces.disabledparking.service.DisabledParkingService;
* @author mjkhan * @author mjkhan
*/ */
@Controller("disabledParkingApi") @Controller("disabledParkingApi")
@RequestMapping("/api/disabledParking") @RequestMapping("/intf/disabledParking")
public class DisabledParkingController extends AbstractController { public class DisabledParkingController extends AbstractController {
@Resource(name = "disabledParkingService") @Resource(name = "disabledParkingService")
private DisabledParkingService service; private DisabledParkingService service;
@ -26,7 +26,7 @@ public class DisabledParkingController extends AbstractController {
* "parkingInfo": "장애인 표지 정보" * "parkingInfo": "장애인 표지 정보"
* }</code></pre> * }</code></pre>
*/ */
@GetMapping(name = "장애인 표지 조회", value = "/parkingInfo.do") @GetMapping(name = "장애인 표지 조회", value = "/parkingInfo")
public ModelAndView getParkingInfo(String vehicleNo) { public ModelAndView getParkingInfo(String vehicleNo) {
return new ModelAndView("jsonView") return new ModelAndView("jsonView")
.addObject("parkingInfo", service.getParkingInfo(vehicleNo)); .addObject("parkingInfo", service.getParkingInfo(vehicleNo));
@ -39,7 +39,7 @@ public class DisabledParkingController extends AbstractController {
* "parkingList": "장애인 표지 목록" * "parkingList": "장애인 표지 목록"
* }</code></pre> * }</code></pre>
*/ */
@GetMapping(name = "장애인 표지 목록 조회", value = "/parkingList.do") @GetMapping(name = "장애인 표지 목록 조회", value = "/parkingList")
public ModelAndView getParkingList(String... vehicleNos) { public ModelAndView getParkingList(String... vehicleNos) {
return new ModelAndView("jsonView") return new ModelAndView("jsonView")
.addObject("parkingList", service.getParkingList(vehicleNos)); .addObject("parkingList", service.getParkingList(vehicleNos));

Loading…
Cancel
Save