扫码提货限制购物车会有检测限制

This commit is contained in:
codeliu 2024-03-22 16:22:59 +08:00
parent 1e37ca795d
commit 76dab72a8e

View File

@ -331,14 +331,17 @@ class StoreOrder extends BaseController
//初始化
return app('json')->success($this->repository->beginMerchant($merId));
}
//购物车有检测机制
$where = [
"a.mer_id" => $merId,
"p.is_show" => 1,
"p.status" => 1,
"p.is_gift_bag" => 0
"p.is_show" => 1, // 上架
"p.is_used" => 1,// 显示
"p.product_type" => 0,// 普通商品
"p.status" => 1, // 审核通过
"p.is_gift_bag" => 0 //不是礼包
];
return app('json')->success($this->repository->dealGoodsList($where,$money,$merId));
}