Commit 5f058bd6 authored by liuyuzhen's avatar liuyuzhen

测试数据

parent 4ad9e411
......@@ -61,7 +61,7 @@ class StoreTopSaleGoodsModel extends \DAO\AbstractModel{
if ($storeGoods) {
$orderGoods = empty($orderGoods)?$storeGoods:array_merge($orderGoods, $storeGoods);
}else{
$singleStoreGoods = $this->getList(array('store_id'=>$storeId,'goods_commonid'=>array('neq','')));
$singleStoreGoods = $this->getList(array('store_id'=>$storeId));
if($singleStoreGoods){
$ordesGoods = empty($orderGoods)?$singleStoreGoods:array_merge($orderGoods,$singleStoreGoods);
$storeTopSaleGoodsRedis->update($storeId,$singleStoreGoods,\Our\ApiConst::oneDaySecond);
......
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