Commit f210652e authored by xiabin's avatar xiabin

修改支付标题

parent 751ff76d
...@@ -410,7 +410,7 @@ class HomeController extends \yii\web\Controller ...@@ -410,7 +410,7 @@ class HomeController extends \yii\web\Controller
"out_trade_no" => $number,//订单号 "out_trade_no" => $number,//订单号
"subject" => "购买课程-{$courseBaseInfo['name']}",//订单名称 "subject" => "购买课程-{$courseBaseInfo['name']}",//订单名称
"total_fee" => $price,//付款金额 "total_fee" => $price,//付款金额
"body" => '云崖购买',//商品描述 "body" => '云崖',//商品描述
'return_url' => Yii::$app->request->hostInfo . '/pay/alipay-return-url' 'return_url' => Yii::$app->request->hostInfo . '/pay/alipay-return-url'
); );
......
...@@ -185,7 +185,7 @@ class PayController extends Controller ...@@ -185,7 +185,7 @@ class PayController extends Controller
'device_info' => "WEB", 'device_info' => "WEB",
'nonce_str' => $data['nonce_str'], 'nonce_str' => $data['nonce_str'],
'sign' => '', 'sign' => '',
'body' => '最课堂-课程购买', 'body' => '云涯-课程购买',
'out_trade_no' => $order_id, 'out_trade_no' => $order_id,
'total_fee' => $order->credit * 100, 'total_fee' => $order->credit * 100,
'spbill_create_ip' => $_SERVER['SERVER_ADDR'], 'spbill_create_ip' => $_SERVER['SERVER_ADDR'],
......
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