shish 5 лет назад
Родитель
Сommit
6258cf0af5
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      biz-hd/order/classes/OrderClass.php

+ 2 - 2
biz-hd/order/classes/OrderClass.php

@@ -161,7 +161,7 @@ class OrderClass extends BaseClass
         }
         $date = date("Y-m-d H:i:s");
         $order->payTime = $date;
-        if ($order->fromtType == dict::getDict("fromType", "shop")) {
+        if ($order->fromType == dict::getDict("fromType", "shop")) {
             $shopAdminIds = \bizGhs\shop\classes\ShopAdminClass::getRemindAdminIdsByShopId($order->shopId);
             if ($shopAdminIds) {
                 foreach ($shopAdminIds as $v) {
@@ -252,7 +252,7 @@ class OrderClass extends BaseClass
         };
 
         //下单通知,来自mall linqh 2021.5.19
-        if ($order->fromtType == dict::getDict("fromType", "mall")) {
+        if ($order->fromType == dict::getDict("fromType", "mall")) {
             $shopIdAdminIds = \bizGhs\shop\classes\ShopAdminClass::getRemindAdminIdsByShopId($shopId);
             if ($shopIdAdminIds) {
                 foreach ($shopIdAdminIds as $v) {