添加清除本地购物车方法
This commit is contained in:
parent
493e8712be
commit
da92a53b48
@ -149,7 +149,7 @@ class LocalStoreGoodsCartLogic extends Logic
|
||||
{
|
||||
Db::startTrans();
|
||||
try {
|
||||
if (isset($post['cart_id']) > 0) {
|
||||
if ($post['cart_id'] > 0) {
|
||||
// 清空购物车单独的商品
|
||||
LocalStoreGoodsCart::where([
|
||||
'id' => $post['cart_id'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user