From b7783effcd1654bd60196658135d48850f4a81f0 Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Sun, 24 Mar 2024 00:04:12 +0800 Subject: [PATCH] 1 --- app/api/model/Order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/model/Order.php b/app/api/model/Order.php index 184a6b78..455275b3 100644 --- a/app/api/model/Order.php +++ b/app/api/model/Order.php @@ -123,7 +123,7 @@ class Order extends OrderModel $list = $query->paginate(15); //这边后面改成多商户的话需要根据storeid去获取信息 $service = new StoreService; - $info = $service->data()['storeInfo']->toArray(); + $info = $service->data(); if (!empty($info['storeInfo'])) { $info = $info['storeInfo']->toArray(); foreach ($list['data'] as &$v) {