正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -99,7 +99,7 @@ class Tickets extends Base | @@ -99,7 +99,7 @@ class Tickets extends Base | ||
| 99 | 99 | ||
| 100 | if ($type == 'finish') | 100 | if ($type == 'finish') |
| 101 | { | 101 | { |
| 102 | - // 所以技术完成了工单,通知第一负责人 和 工单的提交人 | 102 | + // 所有技术完成了工单,通知第一负责人 和 工单的提交人 |
| 103 | $ding->userIds = [$this->project->engineer_id]; | 103 | $ding->userIds = [$this->project->engineer_id]; |
| 104 | if ($this->submit_side == 1) { | 104 | if ($this->submit_side == 1) { |
| 105 | // A 端提的,还要通知提交人 | 105 | // A 端提的,还要通知提交人 |
| @@ -107,6 +107,7 @@ class Tickets extends Base | @@ -107,6 +107,7 @@ class Tickets extends Base | ||
| 107 | // 去重 | 107 | // 去重 |
| 108 | $ding->userIds = array_unique($ding->userIds); | 108 | $ding->userIds = array_unique($ding->userIds); |
| 109 | } | 109 | } |
| 110 | + $ding->userIds = json_encode($ding->userIds); | ||
| 110 | $ding->msgParam = json_encode([ | 111 | $ding->msgParam = json_encode([ |
| 111 | 'text' => "工单(ID: {$this->id}),已经全部完成,请访问查看详情!", | 112 | 'text' => "工单(ID: {$this->id}),已经全部完成,请访问查看详情!", |
| 112 | 'title' => 'AI协同工单 - ' . $this->project->title, | 113 | 'title' => 'AI协同工单 - ' . $this->project->title, |
-
请 注册 或 登录 后发表评论