为PayPal添加定时任务
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user