|
|
@@ -384,7 +384,7 @@ class OrderController extends BaseController
|
|
|
$notifyUrl = Yii::$app->params['frontUrl'] . "/notice/alipay-async";
|
|
|
$payResponse = new \AlipayTradeService($config);
|
|
|
$result = $payResponse->wapPay($payRequestBuilder, $returnUrl, $notifyUrl);
|
|
|
- //util::success(['html' => json_encode($result)]);
|
|
|
+ //直接将支付宝的html返回给前端
|
|
|
echo $result;
|
|
|
} elseif ($payWay == 2) {
|
|
|
//验证支付密码是否正确
|