feat: 修改订单列表逻辑,移除库存码验证,优化代码结构
This commit is contained in:
parent
8e8a031b05
commit
b0f124070c
@ -55,7 +55,7 @@ class OrderList extends BaseAdminDataLists implements ListsSearchInterface
|
|||||||
->select()
|
->select()
|
||||||
->each(function ($item) {
|
->each(function ($item) {
|
||||||
$item['goods_list'] = StoreOrderCartInfo::where('oid', $item['id'])
|
$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) {
|
->each(function ($v) use ($item) {
|
||||||
$v['store_name'] = '';
|
$v['store_name'] = '';
|
||||||
$v['image'] = '';
|
$v['image'] = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user