...
|
...
|
@@ -78,9 +78,9 @@ public class PaymentController { |
|
|
|
|
|
PrepayResponse paymentResponse = paymentService.payment(request);
|
|
|
if (paymentResponse.getPrepayResult() == PrepayResponse.FAILED){
|
|
|
return new ApiResponse.ApiResponseBuilder().code(PrepayResponse.FAILED).data(paymentResponse.getJsonObj()).message("支付订单失败").build();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(PrepayResponse.FAILED).data(paymentResponse.getJsonObj()).message("预支付失败").build();
|
|
|
}else{
|
|
|
return new ApiResponse.ApiResponseBuilder().code(PrepayResponse.SUCCESS).data(paymentResponse.getJsonObj()).message("支付订单成功").build();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(PrepayResponse.SUCCESS).data(paymentResponse.getJsonObj()).message("预支付成功").build();
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
|