|
@@ -879,24 +879,19 @@ class Shop extends Api {
|
|
|
return $rs;
|
|
return $rs;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- $list=[];
|
|
|
|
|
- $nums=0;
|
|
|
|
|
- if($uid>1){
|
|
|
|
|
|
|
|
|
|
- $where=[];
|
|
|
|
|
- $where['uid']=$uid;
|
|
|
|
|
- $where['status']=1;
|
|
|
|
|
|
|
+ $where=[];
|
|
|
|
|
+ $where['uid']=$uid;
|
|
|
|
|
+ $where['status']=1;
|
|
|
|
|
|
|
|
- $list = $domain->getGoodsList($where,$p);
|
|
|
|
|
- $nums = $domain->countGoods($where);
|
|
|
|
|
|
|
+ $list = $domain->getGoodsList($where,$p);
|
|
|
|
|
+ $nums = $domain->countGoods($where);
|
|
|
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- $info['goods_nums']=$nums; //店铺在售商品重新赋值
|
|
|
|
|
- $info['goods_list'] = $list;
|
|
|
|
|
|
|
+ $data['goods_nums']=$nums; //店铺在售商品重新赋值
|
|
|
|
|
+ $data['goods_list'] = $list;
|
|
|
|
|
|
|
|
|
|
|
|
|
- return $info;
|
|
|
|
|
|
|
+ return $data;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|