| @@ -74,7 +74,7 @@ public class WxCarController extends BaseController | |||||
| */ | */ | ||||
| @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(@RequestBody Map<String, String > paramMap) { | |||||
| WxCUser user = getUser(); | WxCUser user = getUser(); | ||||
| // 1, get mall's park | // 1, get mall's park | ||||
| WxPark park = getCurrentPark(user); | WxPark park = getCurrentPark(user); | ||||
| @@ -255,7 +255,6 @@ public class WxCarController extends BaseController | |||||
| userCar.setUpdateDate(curr); | userCar.setUpdateDate(curr); | ||||
| wxCUserCarService.saveOrUpdate(userCar); | wxCUserCarService.saveOrUpdate(userCar); | ||||
| JSONObject dataObj = retObj.getJSONObject("data"); | JSONObject dataObj = retObj.getJSONObject("data"); | ||||
| dataObj.put("vendor", park.getVendorType()); | |||||
| return new ResultData(dataObj); | return new ResultData(dataObj); | ||||
| } else { | } else { | ||||
| String message = retObj.getString("message"); | String message = retObj.getString("message"); | ||||
| @@ -339,7 +338,7 @@ public class WxCarController extends BaseController | |||||
| " \"isSuccess\": \"0\",\n" + | " \"isSuccess\": \"0\",\n" + | ||||
| "}\n") | "}\n") | ||||
| @PostMapping("/unbindCar") | @PostMapping("/unbindCar") | ||||
| public ResultData unbindCar(Map<String, String > paramMap) { | |||||
| public ResultData unbindCar(@RequestBody Map<String, String > paramMap) { | |||||
| WxCUser user = getUser(); | WxCUser user = getUser(); | ||||
| // 1, get mall's park | // 1, get mall's park | ||||
| WxPark park = getCurrentPark(user); | WxPark park = getCurrentPark(user); | ||||
| @@ -462,7 +461,7 @@ public class WxCarController extends BaseController | |||||
| " \"pmParkId\": \"d49aeaedcf144f1faf569846d6b16670\"\n" + | " \"pmParkId\": \"d49aeaedcf144f1faf569846d6b16670\"\n" + | ||||
| " }") | " }") | ||||
| @PostMapping("/getCarStopFee") | @PostMapping("/getCarStopFee") | ||||
| public ResultData getCarStopFee(Map<String, String > paramMap) { | |||||
| public ResultData getCarStopFee(@RequestBody Map<String, String > paramMap) { | |||||
| WxCUser user = getUser(); | WxCUser user = getUser(); | ||||
| // 1, get mall's park | // 1, get mall's park | ||||
| WxPark park = getCurrentPark(user); | WxPark park = getCurrentPark(user); | ||||
| @@ -528,7 +527,7 @@ public class WxCarController extends BaseController | |||||
| " \"carId\": \"5836b8b52ada463ebc6199579f029561\"\n" + | " \"carId\": \"5836b8b52ada463ebc6199579f029561\"\n" + | ||||
| " }") | " }") | ||||
| @PostMapping("/deductionFee") | @PostMapping("/deductionFee") | ||||
| public ResultData deductionFee(Map<String, String > paramMap) { | |||||
| public ResultData deductionFee(@RequestBody Map<String, String > paramMap) { | |||||
| WxCUser user = getUser(); | WxCUser user = getUser(); | ||||
| /// 1, get mall's park | /// 1, get mall's park | ||||
| WxPark park = getCurrentPark(user); | WxPark park = getCurrentPark(user); | ||||
| @@ -587,7 +586,7 @@ public class WxCarController extends BaseController | |||||
| */ | */ | ||||
| @ApiOperation(value = "优免券领取", notes="ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\",\"couponFreeId\":\"string\"},输出\n{}") | @ApiOperation(value = "优免券领取", notes="ETCP:={\"etcpToken\":\"string\",\"carNumber\":\"string\",\"couponFreeId\":\"string\"},输出\n{}") | ||||
| @PostMapping("/getCoupon") | @PostMapping("/getCoupon") | ||||
| public ResultData getCoupon(Map<String, String > paramMap) { | |||||
| public ResultData getCoupon(@RequestBody Map<String, String > paramMap) { | |||||
| WxCUser user = getUser(); | WxCUser user = getUser(); | ||||
| /// 1, get mall's park | /// 1, get mall's park | ||||
| WxPark park = getCurrentPark(user); | WxPark park = getCurrentPark(user); | ||||