添加清除本地购物车方法

This commit is contained in:
wangxiaowei 2024-11-01 15:17:11 +08:00
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'],