修改商品收藏的错误

This commit is contained in:
luofei 2023-07-26 13:48:21 +08:00
parent 7d48f24a24
commit 63586aedb0

View File

@ -155,6 +155,9 @@ class StoreCart extends BaseModel
'activity_id' => $this->source_id,
'product_type' => $this->product_type,
];
if ($this->product_type == 98) {
$where['product_id'] = $this->product_id;
}
} else {
$where = [
'product_id' => $this->product_id,