Commit 40d3c26a authored by liuyuzhen's avatar liuyuzhen

商品上下架删除加入店铺在售商品分类缓存分类

parent f374b1f8
......@@ -127,11 +127,11 @@ class StoreOnlineGoodsClassModel extends \DAO\AbstractModel{
$goodsClass['gc_id_3'] = $goodsCommon['gc_id_3'];
$goodsClass['store_id'] = $goodsCommon['store_id'];
$goodsClass['gc_from'] = \Our\ApiConst::zero;
$this->addChangedGoodsClass($goodsClass,$type);
$this->addChangedGoodsClass(serialize($goodsClass),$type);
if($goodsCommon['goods_class_t_id']){
$goodsClass['gc_id_3'] = $goodsCommon['goods_class_t_id'];
$goodsClass['gc_from'] = \Our\ApiConst::zero;
$this->addChangedGoodsClass($goodsClass,$type);
$this->addChangedGoodsClass(serialize($goodsClass),$type);
}
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment