@@ -94,6 +94,8 @@ FROM han_goods_common t1 where t1.goods_state={1} and t1.goods_verify={2} and t1
left join han_goods_score_statistics b
on a.goods_commonid = b.goods_commonid
WHERE a.group_id<=3 AND a.sale_num>0 order by a.group_id asc limit 3',\Our\ApiConst::defaultGoodsScore,\Our\ApiConst::onlineGoodsState,\Our\ApiConst::onlineGoodsVerify,$storeId,\Our\ApiConst::onlineGoodsDel);
\Our\Log::getInstance()->write('店铺sql查询'.$sql);
$list=$this->db->query($sql)->rows;
if($list){
$newlist=array();
...
...
@@ -146,6 +148,7 @@ WHERE a.group_id<=3 AND a.sale_num>0 and a.goods_state=1 and a.goods_verify=1 an