为PayPal添加定时任务

This commit is contained in:
2024-04-10 16:07:52 +08:00
parent 7d967ed41e
commit 1d443b140b
10 changed files with 129 additions and 206 deletions

View File

@@ -45,8 +45,8 @@ public class PayPalCheckoutController {
@ApiOperation(value = "查询指定订单")
@PostMapping(value = "/trade/query/{orderNo}")
public Response<String> queryOrder(@PathVariable String orderNo) throws SerializeException {
String s = payPalCheckoutService.queryOrder(orderNo);
public Response<Order> queryOrder(@PathVariable String orderNo) throws SerializeException {
Order s = payPalCheckoutService.queryOrder(orderNo);
return Response.success(s);
}