1.提交缺失的东西
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user