diff --git a/app/controller/merchant/store/product/Product.php b/app/controller/merchant/store/product/Product.php index e6558a10..a71aba59 100644 --- a/app/controller/merchant/store/product/Product.php +++ b/app/controller/merchant/store/product/Product.php @@ -421,4 +421,14 @@ class Product extends BaseController $this->repository->updates($ids,$data); return app('json')->success('修改成功'); } + + /** + * 导入商品列表管理 + */ + 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); + + } } diff --git a/route/merchant/product.php b/route/merchant/product.php index 843befb7..b6cf3134 100644 --- a/route/merchant/product.php +++ b/route/merchant/product.php @@ -143,6 +143,9 @@ Route::group(function () { Route::get('lst', '/lst')->name('merchantStoreProductLst')->option([ '_alias' => '列表', ]); + Route::get('xlsx_import_list', '/xlsx_import_list')->option([ + '_alias' => '导入列表', + ]); Route::get('list', '/lst')->option([ '_alias' => '列表', '_auth' => false,