|
@@ -531,7 +531,7 @@ class OrderController extends BaseController
|
|
|
{
|
|
{
|
|
|
$userId = $this->userId;
|
|
$userId = $this->userId;
|
|
|
if (empty($userId)) {
|
|
if (empty($userId)) {
|
|
|
- util::success(['list' => []]);
|
|
|
|
|
|
|
+ util::success(['list' => [], 'moreData' => 0, 'totalNum' => 0, 'totalPage' => 0]);
|
|
|
}
|
|
}
|
|
|
$where = ['userId' => $userId];
|
|
$where = ['userId' => $userId];
|
|
|
$list = OrderService::getOrderList($where);
|
|
$list = OrderService::getOrderList($where);
|