|
|
@@ -127,6 +127,8 @@ class RechargeClass extends BaseClass
|
|
|
$shopId = $recharge->shopId;
|
|
|
$mainId = $recharge->mainId;
|
|
|
$hdId = $recharge->hdId;
|
|
|
+ $hdInfo = HdClass::getById($hdId, true);
|
|
|
+ $hdName = $hdInfo->name ?? "";
|
|
|
$amount = $recharge->amount;
|
|
|
$staffId = $recharge->staffId;
|
|
|
$payWay = $recharge->payWay;
|
|
|
@@ -308,6 +310,8 @@ class RechargeClass extends BaseClass
|
|
|
'remark' => $remark,
|
|
|
'shOrderId' => $shOrderId,
|
|
|
'shOrderSn' => $shOrderSn,
|
|
|
+ 'hdId' => $hdId,
|
|
|
+ 'hdName' => $hdName,
|
|
|
];
|
|
|
$returnChange = BalanceChangeClass::add($change, true);
|
|
|
if ($recharge->onlinePay == 2) {
|