|
@@ -96,11 +96,11 @@ public class StudentOrderController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "台牌支付")
|
|
|
@PostMapping("/executePayment")
|
|
|
- public Object executePayment(BigDecimal amount, String orderNo, String notifyUrl, String returnUrl, String orderSubject, String orderBody) throws Exception {
|
|
|
+ public Object executePayment(BigDecimal amount, String orderNo, String notifyUrl, String returnUrl, String orderSubject, String orderBody,String sign) throws Exception {
|
|
|
String payChannel = PayChannelEnum.ALIPAY_QR.getCode();
|
|
|
- if (!new Pay().verifySign(amount, orderNo, notifyUrl, notifyUrl, orderSubject, orderBody)) {
|
|
|
- return failed("签名验证失败");
|
|
|
- }
|
|
|
+// if (!new Pay().verifySign(amount, orderNo, notifyUrl, orderSubject, orderBody,sign)) {
|
|
|
+// return failed("签名验证失败");
|
|
|
+// }
|
|
|
Payment payment = new Pay().executePayment(amount, orderNo, payChannel, orderSubject, orderBody);
|
|
|
return succeed(payment);
|
|
|
}
|