mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 宁夏平台 Service
This commit is contained in:
@@ -163,13 +163,15 @@ public class NingXiaController extends ThirdPartyBaseController {
|
||||
@PostMapping("/v1/supervise_notification_station_status")
|
||||
public RestApiResponse<?> superviseNotificationStationStatus(@RequestBody PushRealTimeInfoDTO dto) {
|
||||
RestApiResponse<?> response = null;
|
||||
String result = null;
|
||||
try {
|
||||
String result = platformLogic.notificationStationStatus(dto);
|
||||
result = platformLogic.notificationStationStatus(dto);
|
||||
response = new RestApiResponse<>(result);
|
||||
} catch (Exception e) {
|
||||
logger.error("宁夏平台推送充电设备接口状态信息 error", e);
|
||||
return new RestApiResponse<>(e);
|
||||
}
|
||||
logger.info("宁夏平台推送充电设备接口状态信息 result:{}", result);
|
||||
return response;
|
||||
}
|
||||
|
||||
@@ -181,13 +183,15 @@ public class NingXiaController extends ThirdPartyBaseController {
|
||||
@GetMapping("/v1/supervise_notification_equip_charge_status/{orderCode}")
|
||||
public RestApiResponse<?> superviseNotificationEquipChargeStatus(@PathVariable("orderCode") String orderCode) {
|
||||
RestApiResponse<?> response = null;
|
||||
String result = null;
|
||||
try {
|
||||
String result = platformLogic.notificationEquipChargeStatus(orderCode);
|
||||
result = platformLogic.notificationEquipChargeStatus(orderCode);
|
||||
response = new RestApiResponse<>(result);
|
||||
} catch (Exception e) {
|
||||
logger.error("宁夏平台推送充电状态信息 error", e);
|
||||
return new RestApiResponse<>(e);
|
||||
}
|
||||
logger.info("宁夏平台推送充电状态信息 result:{}", result);
|
||||
return response;
|
||||
}
|
||||
|
||||
@@ -199,13 +203,15 @@ public class NingXiaController extends ThirdPartyBaseController {
|
||||
@GetMapping("/v1/supervise_notification_charge_order_info_history/{orderCode}")
|
||||
public RestApiResponse<?> notificationChargeOrderInfoHistory(@PathVariable("orderCode") String orderCode) {
|
||||
RestApiResponse<?> response = null;
|
||||
String result = null;
|
||||
try {
|
||||
String result = platformLogic.notificationChargeOrderInfoHistory(orderCode);
|
||||
result = platformLogic.notificationChargeOrderInfoHistory(orderCode);
|
||||
response = new RestApiResponse<>(result);
|
||||
} catch (Exception e) {
|
||||
logger.error("宁夏平台推送充电站历史充电订单信息 error", e);
|
||||
return new RestApiResponse<>(e);
|
||||
}
|
||||
logger.info("宁夏平台推送充电站历史充电订单信息 result:{}", result);
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user