feat: 修改订单列表逻辑,移除库存码验证,优化代码结构

This commit is contained in:
mkm 2024-08-10 13:55:38 +08:00
parent 8e8a031b05
commit b0f124070c

View File

@ -55,7 +55,7 @@ class OrderList extends BaseAdminDataLists implements ListsSearchInterface
->select()
->each(function ($item) {
$item['goods_list'] = StoreOrderCartInfo::where('oid', $item['id'])
->field('product_id,cart_num,verify_code,is_writeoff,writeoff_time,old_cart_id,cart_info')->limit(3)->select()
->field('product_id,cart_num,verify_code,is_writeoff,writeoff_time,cart_info')->limit(3)->select()
->each(function ($v) use ($item) {
$v['store_name'] = '';
$v['image'] = '';