Commit eb58f460 authored by 郭勇志's avatar 郭勇志

门店批量导入

parent 649b2399
...@@ -670,7 +670,8 @@ class BranchController extends BaseController ...@@ -670,7 +670,8 @@ class BranchController extends BaseController
$returnInfo = [ $returnInfo = [
($key+1) => $_branchModel->errors ($key+1) => $_branchModel->errors
]; ];
return $returnInfo; @unlink($fileInfo['INFO'][0]);
throw new HttpException("422", json_encode($returnInfo));
} }
} }
$transaction->commit(); $transaction->commit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment