|
|
@@ -24,9 +24,9 @@ use common\components\util;
|
|
|
|
|
|
class OrderController extends BaseController
|
|
|
{
|
|
|
-
|
|
|
- public $withoutLogin = ['order-relate','fast-pay'];
|
|
|
-
|
|
|
+
|
|
|
+ public $withoutLogin = ['order-relate', 'fast-pay'];
|
|
|
+
|
|
|
//商城下单操作 shish 2019.12.3
|
|
|
public function actionCreateOrder()
|
|
|
{
|
|
|
@@ -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($result);
|
|
|
+ util::success(['html' => $result]);
|
|
|
|
|
|
} elseif ($payWay == 2) {
|
|
|
//验证支付密码是否正确
|