fix(WarehouseOrderController): 移除debug代码,使用异常处理业务异常
This commit is contained in:
parent
22ed5fefdd
commit
219c372ca8
@ -135,7 +135,6 @@ class WarehouseOrderController extends BaseAdminController
|
|||||||
Db::commit();
|
Db::commit();
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
Db::rollback();
|
Db::rollback();
|
||||||
d($e);
|
|
||||||
throw new BusinessException($e->getMessage());
|
throw new BusinessException($e->getMessage());
|
||||||
}
|
}
|
||||||
return $this->success('已导入后台队列,请在门店入库记录中查看', [], 1, 1);
|
return $this->success('已导入后台队列,请在门店入库记录中查看', [], 1, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user