Merge pull request 'feat: 修改订单列表逻辑,移除库存码验证,优化代码结构' (#122) from dev into main

Reviewed-on: #122
This commit is contained in:
mkm 2024-08-10 13:56:04 +08:00
commit d3b27d22fa

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'] = '';