Эх сурвалжийг харах

启动充电权益卡参数名修改

skyline 1 жил өмнө
parent
commit
3f86367dc6

+ 1 - 1
miniapp/src/main/java/com/kym/miniapp/controller/ChargerController.java

@@ -95,7 +95,7 @@ public class ChargerController {
     @ApiLog("启动充电")
     @GetMapping("/startCharge/{connectorId}")
     R<?> startCharge(@PathVariable("connectorId") String connectorId,
-                     @RequestParam(value = "rechargeRightsId", required = false) Long userRechargeRightsId,
+                     @RequestParam(value = "userRechargeRightsId", required = false) Long userRechargeRightsId,
                      @RequestParam(value = "userCouponId", required = false) Long userCouponId,
                      @RequestParam(value = "isBooking", defaultValue = "false") Boolean isBooking,
                      @RequestParam(value = "startTime", required = false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") LocalDateTime startTime,