update 青海平台Service

This commit is contained in:
Lemon
2024-04-29 17:01:12 +08:00
parent f3a78dff97
commit e5b3ea7989
2 changed files with 20 additions and 1 deletions

View File

@@ -200,4 +200,22 @@ public class QingHaiController extends BaseController {
return response;
}
/**
* 推送订单
* @param orderCode
* @return
*/
@GetMapping("/pushOrderInfo/{orderCode}")
public RestApiResponse<?> pushOrderInfo(@PathVariable("orderCode") String orderCode) {
RestApiResponse<?> response = null;
try {
String result = qingHaiPlatformServiceImpl.notificationChargeOrderInfo(orderCode);
response = new RestApiResponse<>(result);
}catch (Exception e) {
logger.error("青海平台推送订单信息 error", e);
}
logger.info("青海平台推送订单信息 result:{}", response);
return response;
}
}