This commit is contained in:
2024-10-31 13:36:23 +08:00
parent a92daf0bf6
commit 560307cfa4
2 changed files with 5 additions and 8 deletions

View File

@@ -466,6 +466,10 @@ class DrugController extends BaseAdminController
'setFirstRecordAsKeys' => true,
'getOnlySheet' => 'Sheet1',
]);
ds([
$data,
@unlink($filename)
]);
$ImportForm = new ImportForm();
$ImportForm->attributes = $post;