1.提交缺失的东西

This commit is contained in:
2025-05-15 16:22:20 +08:00
parent bf3f810273
commit b0cd4db405

View File

@ -75,11 +75,11 @@ class CartLogic
} }
// 钩子-记录足迹(添加购物车) // 钩子-记录足迹(添加购物车)
Hook::listen('footprint', [ // Hook::listen('footprint', [
'type' => Footprint::add_cart, // 'type' => Footprint::add_cart,
'user_id' => $user_id, // 'user_id' => $user_id,
'foreign_id' => $goods['goods_id'] //商品ID // 'foreign_id' => $goods['goods_id'] //商品ID
]); // ]);
return true; return true;
} }