|
|
@@ -1266,10 +1266,10 @@ class OrderController extends BaseController
|
|
|
|
|
|
//是否显示余额支付按钮 ssh 20260120
|
|
|
$hd = $this->hd;
|
|
|
- $actPrice = $detail['actPrice'] ?? 0;
|
|
|
$balance = $hd->balance ?? 0;
|
|
|
- $showYePay = $balance >= $actPrice && $actPrice > 0 ? 1 : 0;
|
|
|
+ $showYePay = $balance > 0 ? 1 : 0;
|
|
|
$detail['showYePay'] = $showYePay;
|
|
|
+ $detail['balance'] = $balance;
|
|
|
|
|
|
$detail['rechargeWeal'] = $this->shop->rechargeWeal; //是否开启余额支付
|
|
|
util::success($detail);
|