diff --git a/app/admin/logic/beforehand_order/BeforehandOrderLogic.php b/app/admin/logic/beforehand_order/BeforehandOrderLogic.php index cbae51f2f..33b1908c7 100644 --- a/app/admin/logic/beforehand_order/BeforehandOrderLogic.php +++ b/app/admin/logic/beforehand_order/BeforehandOrderLogic.php @@ -16,6 +16,7 @@ use app\common\model\store_order\StoreOrder; use app\common\model\store_order_cart_info\StoreOrderCartInfo; use app\common\model\store_product\StoreProduct; use app\common\model\store_product_unit\StoreProductUnit; +use app\common\model\system_store\SystemStore; use app\common\model\user\User; use app\common\model\user\UserAddress; use app\common\model\warehouse_order\WarehouseOrder; @@ -436,6 +437,7 @@ class BeforehandOrderLogic extends BaseLogic $arr = StoreCategory::where('id', 'in', $top_cate_list)->field('name,id')->select(); $res['top_cate'] = $arr?->toArray(); } + $res['system_store']=SystemStore::where('id',$res['store_id'])->value('name'); return $res; } }