更新订单列表

This commit is contained in:
yaooo 2023-08-22 13:06:44 +08:00
parent 13266ffd48
commit b388287191

View File

@ -974,10 +974,7 @@ class Auth extends BaseController
$list = $list->toArray();
};
foreach($list as $k=>$v) {
$list[$k]['order_sn'] = '';
if (!empty($orderIdList[$v['order_id']])) {
$list[$k]['order_sn'] = $orderIdList[$v['order_id']];
}
$list[$k]['order_sn'] = !empty($orderIdList[$v['order_id']]) ? $orderIdList[$v['order_id']] : '';
}
return app('json')->success(compact('count', 'list'));
}