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

Loading…
Cancel
Save