...
|
...
|
@@ -587,6 +587,7 @@ class SecondController extends RestBaseController |
|
|
public function goodsList(){
|
|
|
$goodModel=new GoodsModel();
|
|
|
$map['is_online']=1;
|
|
|
$map['delete_time']=null;
|
|
|
$goods=$goodModel->where($map)->order('id desc')->paginate(10,true);
|
|
|
$list=$goods->items();
|
|
|
foreach ($list as $k=>$v){
|
...
|
...
|
|