购物车新增删除标识

This commit is contained in:
liu 2024-06-15 11:42:54 +08:00
parent 5e5cc45490
commit 1109eb92f1

View File

@ -63,7 +63,8 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists
foreach ($list as $key => &$item) {
$find = StoreBranchProduct::where(['product_id' => $item['product_id'],'store_id' => $item['store_id']])
->field('product_id,image,price,cost,store_name,unit')
->field('product_id,image,price,cost,store_name,unit,delete_time')
->withTrashed()
->find();
// if (isset($check) && $check['status'] == 1) {
// $find['price'] = $find['cost'];