Commit b509081c authored by liuyuzhen's avatar liuyuzhen

orderGoods取消注释

parent bd42d9bf
......@@ -108,9 +108,9 @@ class OrderGoodsModel extends \DAO\AbstractModel {
}
public function deleteOrderGoodsCache($memberId,$orderIds,$storeId=false){
// if($memberId){
// return \Our\RedisHelper::delCachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$this, 'getOrderGoodsByOrderIds'), array($memberId));
// }
if($memberId){
return \Our\RedisHelper::delCachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$this, 'getOrderGoodsByOrderIds'), array($memberId));
}
if($orderIds){
return \Our\RedisHelper::delCachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$this, 'getOrderGoodsByOrderIds'), array(),array($orderIds));
}
......
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