|
|
@ -53,7 +53,7 @@ class SharePayController extends Controller |
|
|
if ($order->status == Status::PAY_EARNEST) { |
|
|
if ($order->status == Status::PAY_EARNEST) { |
|
|
$price = $order->price - $order->paid_money; |
|
|
$price = $order->price - $order->paid_money; |
|
|
} else { |
|
|
} else { |
|
|
$price = $this->calc($order->price, $order->num, $order->pay_type, $order->agent_product); |
|
|
|
|
|
|
|
|
$price = $this->calc($order->price, $order->num, $order->pay_type, $order->agentProduct); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$config = config('wechat.payment.default'); |
|
|
$config = config('wechat.payment.default'); |
|
|
|