更新导入列表
This commit is contained in:
parent
f83c62bb2a
commit
150f8590e3
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user