更新导入列表

This commit is contained in:
shengchanzhe 2023-12-21 17:07:10 +08:00
parent f83c62bb2a
commit 150f8590e3
2 changed files with 13 additions and 0 deletions

View File

@ -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);
}
}

View File

@ -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,