|
|
@@ -51,7 +51,7 @@ public class LinkDataController {
|
|
|
@Operation(summary = "获取token")
|
|
|
@PostMapping("/query_token")
|
|
|
@Log(value = "获取token", module = LogModuleEnum.PARKING, params = true, result = true)
|
|
|
- @ApiRateLimit(prefix = "third_party:query_token", limitType = ApiRateLimit.LimitType.IP, count = 200, time = 60, message = "获取Token请求过于频繁,请稍后再试")
|
|
|
+// @ApiRateLimit(prefix = "third_party:query_token", limitType = ApiRateLimit.LimitType.IP, count = 200, time = 60, message = "获取Token请求过于频繁,请稍后再试")
|
|
|
public ResponseParmsEntity getToken(@RequestBody RequestParmsEntity request) throws Exception {
|
|
|
ResponseParmsEntity responseParmsEntity = new ResponseParmsEntity();
|
|
|
try {
|
|
|
@@ -132,7 +132,7 @@ public class LinkDataController {
|
|
|
@Operation(summary = "推送启动充电结果")
|
|
|
@PostMapping("/notification_start_charge_result")
|
|
|
@Log(value = "推送启动充电结果", module = LogModuleEnum.PARKING, params = true, result = true)
|
|
|
- @ApiRateLimit(prefix = "third_party:start_charge", limitType = ApiRateLimit.LimitType.IP, count = 300, time = 60, message = "启动充电请求过于频繁,请稍后再试")
|
|
|
+// @ApiRateLimit(prefix = "third_party:start_charge", limitType = ApiRateLimit.LimitType.IP, count = 300, time = 60, message = "启动充电请求过于频繁,请稍后再试")
|
|
|
public ResponseParmsEntity chargeResponse(@RequestBody RequestParmsEntity requestDTO){
|
|
|
return chargingReceptionService.chargeResponse(requestDTO);
|
|
|
}
|
|
|
@@ -143,7 +143,7 @@ public class LinkDataController {
|
|
|
@Operation(summary = "推送充电状态")
|
|
|
@PostMapping("/notification_equip_charge_status")
|
|
|
@Log(value = "推送充电状态", module = LogModuleEnum.PARKING, params = true, result = true)
|
|
|
- @ApiRateLimit(prefix = "third_party:charge_status", limitType = ApiRateLimit.LimitType.IP, count = 500, time = 60, message = "充电状态推送过于频繁,请稍后再试")
|
|
|
+// @ApiRateLimit(prefix = "third_party:charge_status", limitType = ApiRateLimit.LimitType.IP, count = 500, time = 60, message = "充电状态推送过于频繁,请稍后再试")
|
|
|
public ResponseParmsEntity chargeStatusResponse(@RequestBody RequestParmsEntity requestDTO){
|
|
|
return chargingReceptionService.chargeStatusResponse(requestDTO);
|
|
|
}
|
|
|
@@ -154,7 +154,7 @@ public class LinkDataController {
|
|
|
@Operation(summary = "推送停止充电结果")
|
|
|
@PostMapping("/notification_stop_charge_result")
|
|
|
@Log(value = "推送停止充电结果", module = LogModuleEnum.PARKING, params = true, result = true)
|
|
|
- @ApiRateLimit(prefix = "third_party:stop_charge", limitType = ApiRateLimit.LimitType.IP, count = 300, time = 60, message = "停止充电请求过于频繁,请稍后再试")
|
|
|
+// @ApiRateLimit(prefix = "third_party:stop_charge", limitType = ApiRateLimit.LimitType.IP, count = 300, time = 60, message = "停止充电请求过于频繁,请稍后再试")
|
|
|
public ResponseParmsEntity stopChargeResponse(@RequestBody RequestParmsEntity requestDTO){
|
|
|
return chargingReceptionService.stopChargeResponse(requestDTO);
|
|
|
}
|
|
|
@@ -165,7 +165,7 @@ public class LinkDataController {
|
|
|
@Operation(summary = "推送充电订单信息")
|
|
|
@PostMapping("/notification_charge_order_info")
|
|
|
@Log(value = "推送充电订单信息", module = LogModuleEnum.PARKING, params = true, result = true)
|
|
|
- @ApiRateLimit(prefix = "third_party:charge_order", limitType = ApiRateLimit.LimitType.IP, count = 200, time = 60, message = "订单信息推送过于频繁,请稍后再试")
|
|
|
+// @ApiRateLimit(prefix = "third_party:charge_order", limitType = ApiRateLimit.LimitType.IP, count = 200, time = 60, message = "订单信息推送过于频繁,请稍后再试")
|
|
|
public ResponseParmsEntity chargeOrderResponse(@RequestBody RequestParmsEntity requestDTO) throws Exception {
|
|
|
return chargingReceptionService.chargeOrderResponse(requestDTO);
|
|
|
}
|
|
|
@@ -178,7 +178,7 @@ public class LinkDataController {
|
|
|
@Operation(summary = "设备状态变化推送")
|
|
|
@PostMapping("/notification_stationStatus")
|
|
|
@Log(value = "设备状态变化推送", module = LogModuleEnum.PARKING, params = true, result = true)
|
|
|
- @ApiRateLimit(prefix = "third_party:station_status", limitType = ApiRateLimit.LimitType.IP, count = 500, time = 60, message = "设备状态推送过于频繁,请稍后再试")
|
|
|
+// @ApiRateLimit(prefix = "third_party:station_status", limitType = ApiRateLimit.LimitType.IP, count = 500, time = 60, message = "设备状态推送过于频繁,请稍后再试")
|
|
|
public ResponseParmsEntity stationStatus(@RequestBody RequestParmsEntity requestDTO){
|
|
|
return chargingReceptionService.stationStatus(requestDTO);
|
|
|
}
|