fix: 修复会签/或签场景消息卡片更新和前端构建
后端: - 修复 reject 方法中 notificationService 未初始化的问题 - 确保拒绝时也会更新其他审批人的消息卡片 前端: - 重新构建前端代码 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -233,7 +233,12 @@ class ApprovalService
|
||||
$approver = User::find($approverId);
|
||||
$approverName = $approver ? $approver->name : '未知';
|
||||
|
||||
if ($this->notificationService && $currentNode) {
|
||||
// 确保 notificationService 已初始化
|
||||
if (!$this->notificationService) {
|
||||
$this->notificationService = new FeishuNotificationService();
|
||||
}
|
||||
|
||||
if ($currentNode) {
|
||||
$this->notificationService->updateMessageCards(
|
||||
$order->id,
|
||||
$currentNode->id,
|
||||
|
||||
Reference in New Issue
Block a user