更新数据

This commit is contained in:
shengchanzhe 2023-12-22 09:25:12 +08:00
parent 39dd828bae
commit 76dc2f99dc

View File

@ -428,7 +428,8 @@ class Product extends BaseController
public function xlsx_import_list(){
[$page, $limit] = $this->getPage();
$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]);
}
}