wanghousheng 8 months ago
parent b87c306883
commit b7783effcd
  1. 2
      app/api/model/Order.php

@ -123,7 +123,7 @@ class Order extends OrderModel
$list = $query->paginate(15); $list = $query->paginate(15);
//这边后面改成多商户的话需要根据storeid去获取信息 //这边后面改成多商户的话需要根据storeid去获取信息
$service = new StoreService; $service = new StoreService;
$info = $service->data()['storeInfo']->toArray(); $info = $service->data();
if (!empty($info['storeInfo'])) { if (!empty($info['storeInfo'])) {
$info = $info['storeInfo']->toArray(); $info = $info['storeInfo']->toArray();
foreach ($list['data'] as &$v) { foreach ($list['data'] as &$v) {

Loading…
Cancel
Save