Commit caacdf60 authored by xiabin's avatar xiabin

添加移动端支付宝支付

parent ce246175
...@@ -401,7 +401,7 @@ class HomeController extends \yii\web\Controller ...@@ -401,7 +401,7 @@ class HomeController extends \yii\web\Controller
"total_fee" => $price,//付款金额 "total_fee" => $price,//付款金额
"body" => '云崖购买',//商品描述 "body" => '云崖购买',//商品描述
); );
if (Yii::$app->deviceDetect->isMobile() or TRUE) { if (Yii::$app->deviceDetect->isMobile()) {
$parameter['service'] = \Yii::$app->params['alipay']['wap_service']; $parameter['service'] = \Yii::$app->params['alipay']['wap_service'];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment