123
This commit is contained in:
@@ -57,9 +57,9 @@ public class PayController {
|
||||
private static final String NOTIFY_ALI_URL = "/api/pay/ali/notify";
|
||||
|
||||
|
||||
@GetMapping(value = "/checkPay")
|
||||
@Operation(summary = "检查使用的支付方式")
|
||||
@Log(title = "检查使用的支付方式", businessType = BusinessType.OTHER, isSaveDb = true)
|
||||
// @GetMapping(value = "/checkPay")
|
||||
// @Operation(summary = "检查使用的支付方式")
|
||||
// @Log(title = "检查使用的支付方式", businessType = BusinessType.OTHER, isSaveDb = true)
|
||||
public R<UsePayResp> checkPayType(){
|
||||
Long userId = LoginHelper.getUserId();
|
||||
boolean userTrdPay = trdPayManager.useTrdPay(userId);
|
||||
@@ -170,9 +170,9 @@ public class PayController {
|
||||
return R.ok(resp);
|
||||
}
|
||||
|
||||
@PostMapping(value = "/ali")
|
||||
@Operation(summary = "支付宝支付")
|
||||
@Log(title = "支付宝支付", businessType = BusinessType.OTHER, isSaveDb = true)
|
||||
// @PostMapping(value = "/ali")
|
||||
// @Operation(summary = "支付宝支付")
|
||||
// @Log(title = "支付宝支付", businessType = BusinessType.OTHER, isSaveDb = true)
|
||||
public R<PayReturnResp> aliPay(@RequestBody PayControllerDTO dto) {
|
||||
PayOrderInfoDTO payOrderInfo = payManager.getOrderInfo(dto.getOrderNo());
|
||||
if(payOrderInfo == null){
|
||||
|
||||
Reference in New Issue
Block a user