| @@ -26,7 +26,7 @@ import java.util.HashMap; | |||||
| import java.util.Map; | import java.util.Map; | ||||
| @RestController | @RestController | ||||
| @RequestMapping("car") | |||||
| @RequestMapping("/api/car") | |||||
| public class WxCarController extends BaseController | public class WxCarController extends BaseController | ||||
| { | { | ||||
| private Logger logger = Logger.getLogger(WxCarController.class); | private Logger logger = Logger.getLogger(WxCarController.class); | ||||
| @@ -52,7 +52,7 @@ public class WxCarController extends BaseController | |||||
| } | } | ||||
| @ApiOperation(value = "获取车场支持的厂家",notes="") | @ApiOperation(value = "获取车场支持的厂家",notes="") | ||||
| @GetMapping("getVendor") | |||||
| @GetMapping("/getVendor") | |||||
| public ResultData getVendor() { | public ResultData getVendor() { | ||||
| // 1, get mall's park | // 1, get mall's park | ||||
| WxPark park = getCurrentPark(); | WxPark park = getCurrentPark(); | ||||
| @@ -67,7 +67,7 @@ public class WxCarController extends BaseController | |||||
| * @return | * @return | ||||
| */ | */ | ||||
| @ApiOperation(value = "初始化/etcp共同登录",notes="{\"phone\":\"string\"}") | @ApiOperation(value = "初始化/etcp共同登录",notes="{\"phone\":\"string\"}") | ||||
| @PostMapping("init") | |||||
| @PostMapping("/init") | |||||
| public ResultData init(Map<String, String > paramMap) { | public ResultData init(Map<String, String > paramMap) { | ||||
| // 1, get mall's park | // 1, get mall's park | ||||
| WxPark park = getCurrentPark(); | WxPark park = getCurrentPark(); | ||||
| @@ -133,7 +133,7 @@ public class WxCarController extends BaseController | |||||
| */ | */ | ||||
| @ApiOperation(value = "绑车牌", notes = "ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\"}\n" + | @ApiOperation(value = "绑车牌", notes = "ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\"}\n" + | ||||
| "TJD:={\"carNumber\":\"string\",\"carNumColor\":\"string\",\"outCarId\":\"string\"}") | "TJD:={\"carNumber\":\"string\",\"carNumColor\":\"string\",\"outCarId\":\"string\"}") | ||||
| @PostMapping("bindCar") | |||||
| @PostMapping("/bindCar") | |||||
| public ResultData bindCar(Map<String, String > paramMap) { | public ResultData bindCar(Map<String, String > paramMap) { | ||||
| // 1, get mall's park | // 1, get mall's park | ||||
| WxPark park = getCurrentPark(); | WxPark park = getCurrentPark(); | ||||
| @@ -217,7 +217,7 @@ public class WxCarController extends BaseController | |||||
| */ | */ | ||||
| @ApiOperation(value = "解绑车牌", notes = "ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\"}\n" + | @ApiOperation(value = "解绑车牌", notes = "ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\"}\n" + | ||||
| "TJD:={\"carNumber\":\"string\",\"carNumColor\":\"string\",\"outCarId\":\"string\"}") | "TJD:={\"carNumber\":\"string\",\"carNumColor\":\"string\",\"outCarId\":\"string\"}") | ||||
| @PostMapping("unbindCar") | |||||
| @PostMapping("/unbindCar") | |||||
| public ResultData unbindCar(Map<String, String > paramMap) { | public ResultData unbindCar(Map<String, String > paramMap) { | ||||
| // 1, get mall's park | // 1, get mall's park | ||||
| WxPark park = getCurrentPark(); | WxPark park = getCurrentPark(); | ||||
| @@ -292,7 +292,7 @@ public class WxCarController extends BaseController | |||||
| */ | */ | ||||
| @ApiOperation(value = "停车费", notes = "ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\"}\n" + | @ApiOperation(value = "停车费", notes = "ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\"}\n" + | ||||
| "TJD:={\"carNumber\":\"string\",\"carNumColor\":\"string\",\"outCarId\":\"string\"}") | "TJD:={\"carNumber\":\"string\",\"carNumColor\":\"string\",\"outCarId\":\"string\"}") | ||||
| @PostMapping("getCarStopFee") | |||||
| @PostMapping("/getCarStopFee") | |||||
| public ResultData getCarStopFee(Map<String, String > paramMap) { | public ResultData getCarStopFee(Map<String, String > paramMap) { | ||||
| // 1, get mall's park | // 1, get mall's park | ||||
| WxPark park = getCurrentPark(); | WxPark park = getCurrentPark(); | ||||
| @@ -392,7 +392,7 @@ public class WxCarController extends BaseController | |||||
| * | * | ||||
| */ | */ | ||||
| @ApiOperation("停车费抵扣") | @ApiOperation("停车费抵扣") | ||||
| @PostMapping("deductionFee") | |||||
| @PostMapping("/deductionFee") | |||||
| public ResultData deductionFee(Map<String, String > paramMap) { | public ResultData deductionFee(Map<String, String > paramMap) { | ||||
| /// 1, get mall's park | /// 1, get mall's park | ||||
| WxPark park = getCurrentPark(); | WxPark park = getCurrentPark(); | ||||
| @@ -460,7 +460,7 @@ public class WxCarController extends BaseController | |||||
| }, | }, | ||||
| */ | */ | ||||
| @ApiOperation("优免券模板") | @ApiOperation("优免券模板") | ||||
| @PostMapping("quanTemplate") | |||||
| @PostMapping("/quanTemplate") | |||||
| public ResultData quanTemplate(Map<String, String > paramMap) { | public ResultData quanTemplate(Map<String, String > paramMap) { | ||||
| /// 1, get mall's park | /// 1, get mall's park | ||||
| WxPark park = getCurrentPark(); | WxPark park = getCurrentPark(); | ||||
| @@ -511,7 +511,7 @@ public class WxCarController extends BaseController | |||||
| * 优免券不可退 | * 优免券不可退 | ||||
| */ | */ | ||||
| @ApiOperation(value = "优免券领取", notes="ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\",\"couponFreeId\":\"string\"}") | @ApiOperation(value = "优免券领取", notes="ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\",\"couponFreeId\":\"string\"}") | ||||
| @PostMapping("getCoupon") | |||||
| @PostMapping("/getCoupon") | |||||
| public ResultData getCoupon(Map<String, String > paramMap) { | public ResultData getCoupon(Map<String, String > paramMap) { | ||||
| /// 1, get mall's park | /// 1, get mall's park | ||||
| WxPark park = getCurrentPark(); | WxPark park = getCurrentPark(); | ||||