更新数据
This commit is contained in:
parent
39dd828bae
commit
76dc2f99dc
@ -428,7 +428,8 @@ class Product extends BaseController
|
|||||||
public function xlsx_import_list(){
|
public function xlsx_import_list(){
|
||||||
[$page, $limit] = $this->getPage();
|
[$page, $limit] = $this->getPage();
|
||||||
$select=Db::name('store_product_import')->where('mer_id',$this->request->merId())->page($page)->limit($limit)->select()->toArray();
|
$select=Db::name('store_product_import')->where('mer_id',$this->request->merId())->page($page)->limit($limit)->select()->toArray();
|
||||||
return app('json')->success($select);
|
$count=Db::name('store_product_import')->where('mer_id',$this->request->merId())->count();
|
||||||
|
return app('json')->success(['list'=>$select,'count'=>$count]);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user