扫码提货限制购物车会有检测限制
This commit is contained in:
parent
1e37ca795d
commit
76dab72a8e
@ -331,14 +331,17 @@ class StoreOrder extends BaseController
|
|||||||
//初始化
|
//初始化
|
||||||
return app('json')->success($this->repository->beginMerchant($merId));
|
return app('json')->success($this->repository->beginMerchant($merId));
|
||||||
}
|
}
|
||||||
|
//购物车有检测机制
|
||||||
$where = [
|
$where = [
|
||||||
"a.mer_id" => $merId,
|
"a.mer_id" => $merId,
|
||||||
"p.is_show" => 1,
|
"p.is_show" => 1, // 上架
|
||||||
"p.status" => 1,
|
"p.is_used" => 1,// 显示
|
||||||
"p.is_gift_bag" => 0
|
"p.product_type" => 0,// 普通商品
|
||||||
|
"p.status" => 1, // 审核通过
|
||||||
|
"p.is_gift_bag" => 0 //不是礼包
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
return app('json')->success($this->repository->dealGoodsList($where,$money,$merId));
|
return app('json')->success($this->repository->dealGoodsList($where,$money,$merId));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user