diff --git a/app/controller/merchant/store/product/Product.php b/app/controller/merchant/store/product/Product.php index a71aba59..294ee9f5 100644 --- a/app/controller/merchant/store/product/Product.php +++ b/app/controller/merchant/store/product/Product.php @@ -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]); } }