mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-07 23:48:05 +08:00
新增 内蒙古平台推送历史订单接口
This commit is contained in:
@@ -171,4 +171,24 @@ public class NeiMengGuController extends ThirdPartyBaseController {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 推送历史充电订单 notificationChargeOrderInfoHistory
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@GetMapping("/v1/notificationChargeOrderInfoHistory/{orderCode}")
|
||||||
|
public RestApiResponse<?> notificationChargeOrderInfoHistory(@PathVariable String orderCode) {
|
||||||
|
logger.info("{}-推送历史充电订单 params:{}", platformName, orderCode);
|
||||||
|
RestApiResponse<?> response = null;
|
||||||
|
try {
|
||||||
|
// 执行逻辑
|
||||||
|
String result = platformLogic.notificationChargeOrderInfoHistory(orderCode);
|
||||||
|
response = new RestApiResponse<>(result);
|
||||||
|
} catch (Exception e) {
|
||||||
|
logger.error("{}-推送历史充电订单", platformName, e);
|
||||||
|
response = new RestApiResponse<>(e);
|
||||||
|
}
|
||||||
|
logger.info("{}-推送历史充电订单 result:{}", platformName, response);
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user