更新订单列表
This commit is contained in:
parent
13266ffd48
commit
b388287191
@ -974,10 +974,7 @@ class Auth extends BaseController
|
|||||||
$list = $list->toArray();
|
$list = $list->toArray();
|
||||||
};
|
};
|
||||||
foreach($list as $k=>$v) {
|
foreach($list as $k=>$v) {
|
||||||
$list[$k]['order_sn'] = '';
|
$list[$k]['order_sn'] = !empty($orderIdList[$v['order_id']]) ? $orderIdList[$v['order_id']] : '';
|
||||||
if (!empty($orderIdList[$v['order_id']])) {
|
|
||||||
$list[$k]['order_sn'] = $orderIdList[$v['order_id']];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return app('json')->success(compact('count', 'list'));
|
return app('json')->success(compact('count', 'list'));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user