diff --git a/app/common/service/InvRequisitionService.php b/app/common/service/InvRequisitionService.php index 5e49baf..3e55cad 100644 --- a/app/common/service/InvRequisitionService.php +++ b/app/common/service/InvRequisitionService.php @@ -108,7 +108,7 @@ class InvRequisitionService } $manage_user = array_unique($manage_user); if(count($manage_user)>1){ - throw new BusinessException("审批实例未找到"); + throw new BusinessException("物品管理员不是同一人"); } } @@ -147,7 +147,7 @@ class InvRequisitionService return $res; }); } catch (\Throwable $e) { - throw new BusinessException("创建物品申请失败:" . $e->getMessage().$e->getLine().$e->getFile().$e->getTraceAsString()); + throw new BusinessException("创建物品申请失败:"); } }