|
|
@@ -291,6 +291,7 @@ class ShopClass extends BaseClass
|
|
|
$id = $order->id;
|
|
|
$event = $customName . "下单{$amount}元";
|
|
|
$tx = dict::getDict('yeTx', 'can');
|
|
|
+ $fromType = $order->fromType ?? 1;
|
|
|
$change = [
|
|
|
'relateId' => $id,
|
|
|
'capitalType' => $capitalType,
|
|
|
@@ -304,6 +305,7 @@ class ShopClass extends BaseClass
|
|
|
'shopId' => $order->shopId,
|
|
|
'tx' => $tx,
|
|
|
'ptStyle' => $shop->ptStyle,
|
|
|
+ 'fromType' => $fromType,
|
|
|
];
|
|
|
ShopYeChangeClass::addChange($change, true);
|
|
|
|