fix(WarehouseOrderController): 移除debug代码,使用异常处理业务异常

This commit is contained in:
mkm 2024-08-21 10:04:28 +08:00
parent 22ed5fefdd
commit 219c372ca8

View File

@ -135,7 +135,6 @@ class WarehouseOrderController extends BaseAdminController
Db::commit();
} catch (\Throwable $e) {
Db::rollback();
d($e);
throw new BusinessException($e->getMessage());
}
return $this->success('已导入后台队列,请在门店入库记录中查看', [], 1, 1);