Procházet zdrojové kódy

Merge branch 'master' of http://git.liuniu946.com/Kirin/zccy

zxhxx před 3 roky
rodič
revize
b6f8e1ef6d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/models/store/StoreOrder.php

+ 1 - 1
app/models/store/StoreOrder.php

@@ -529,7 +529,7 @@ class StoreOrder extends BaseModel
                 'city' => $addressInfo['city'],
                 'district' => $addressInfo['district'],
                 'time_area' => $time_area,
-                'store_user' => $other['only_store_user'],
+                'store_user' => $other['only_store_user'] ?? 0,
             ];
             $orderInfo['store_id'] = SystemStore::getStoreDispose($storeId, 'id');
             if (!$orderInfo['store_id'] && !$free_check) return self::setErrorInfo('暂无门店无法选择门店!', true);