1、完善积分充值

2、升级积分扣除机制
3、优化部分代码
This commit is contained in:
2024-03-28 14:43:36 +08:00
parent 737ec594fd
commit 7d967ed41e
12 changed files with 142 additions and 59 deletions

View File

@@ -1,7 +1,6 @@
package com.ai.da.controller;
import com.ai.da.common.response.Response;
import com.ai.da.service.CallBackService;
import com.ai.da.service.PayPalCheckoutService;
import com.paypal.http.HttpResponse;
import com.paypal.http.exceptions.SerializeException;
@@ -61,7 +60,6 @@ public class PayPalCheckoutController {
}else {
return Response.fail("Request for refund failed.");
}
}
@ApiOperation("执行扣款")
@@ -70,8 +68,5 @@ public class PayPalCheckoutController {
Order response = payPalCheckoutService.captureOrder(orderNo);
return Response.success(response);
}
}