Commit 40b72715 authored by 董先生's avatar 董先生

优化登录

parent 821938a0
......@@ -30,6 +30,7 @@ class PayService {
case 'order':
$data = app('Modules\Order\Services\OrderService')->getjsPayData($request, $from);
$description = "订单支付";
$data->amount = $data->amount-$data->integral;
break;
case 'payment':
$data = app('Modules\Store\Services\PaymentService')->getjsPayData($request, $from);
......@@ -40,7 +41,6 @@ class PayService {
$description = "订单支付";
break;
}
$data->amount = $data->amount-$data->integral;
$payData = [
'mchid' => $config['mch_id'],
'appid' => $config['app_id'],
......
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