wanghousheng 10 months ago
parent b7783effcd
commit 1fc368ce02
  1. 2
      app/api/model/Order.php

@ -120,7 +120,7 @@ class Order extends OrderModel
->where('user_id', '=', $userId) ->where('user_id', '=', $userId)
->where('is_delete', '=', 0) ->where('is_delete', '=', 0)
->order(['create_time' => 'desc']); ->order(['create_time' => 'desc']);
$list = $query->paginate(15); $list = $query->paginate(15)->toArray();
//这边后面改成多商户的话需要根据storeid去获取信息 //这边后面改成多商户的话需要根据storeid去获取信息
$service = new StoreService; $service = new StoreService;
$info = $service->data(); $info = $service->data();

Loading…
Cancel
Save