shish 4 лет назад
Родитель
Сommit
b8f37afd79
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      biz/shop/classes/ShopClass.php

+ 2 - 0
biz/shop/classes/ShopClass.php

@@ -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);