|
|
@@ -194,6 +194,12 @@ class ShopClass extends BaseClass
|
|
|
$clearId = $order->id ?? 0;
|
|
|
$tx = dict::getDict('yeTx', 'can');
|
|
|
$capitalType = dict::getDict('capitalType', 'hdPurchaseClear', 'id');
|
|
|
+
|
|
|
+ $custom = '客户';
|
|
|
+ if (isset($order->customName) && !empty($order->customName)) {
|
|
|
+ $custom = $order->customName;
|
|
|
+ }
|
|
|
+
|
|
|
$change = [
|
|
|
'relateId' => $clearId,
|
|
|
'capitalType' => $capitalType,
|
|
|
@@ -202,7 +208,7 @@ class ShopClass extends BaseClass
|
|
|
'txBalance' => $txBalance,
|
|
|
'io' => 1,
|
|
|
'payWay' => $order->payWay,
|
|
|
- 'event' => "客户结帐(单号:{$order->orderSn})",
|
|
|
+ 'event' => $custom . "结帐(单号:{$order->orderSn})",
|
|
|
'sjId' => $shop->sjId,
|
|
|
'shopId' => $shop->id,
|
|
|
'tx' => $tx,
|