This commit is contained in:
2025-03-26 17:26:10 +08:00
parent 0890c86524
commit d8b1f34a0a
9 changed files with 52 additions and 16 deletions

View File

@ -2,6 +2,7 @@
namespace plugin\ticket\controller;
use app\custom\model\CustomMessage;
use plugin\inspection\model\InspectionStaff;
use plugin\ticket\model\ApprovalInstance;
use plugin\ticket\model\ApprovalProcess;
@ -379,6 +380,8 @@ class Ticket extends Controller
'status'=>0,
'title'=>'您有新的核验工单需要处理',
'content'=>'您有新的核验工单需要处理,请及时处理。',
'type' => 'TICKET_VIEW',
'oid' => $view->id,
]);
$this->success('创建成功!', $view);
} else {
@ -480,6 +483,13 @@ class Ticket extends Controller
'content' => $comment_data['content'],
'result' => "后台用户反馈",
]);
CustomMessage::create([
'user_id' => $share->user_id,
'title' => "随手拍反馈",
'content' => "您的随手拍有新的回复了,请及时查看。",
'type' => 'USER_SHARE',
'oid' => $share->id,
]);
}
TicketTicket::mk()->commit();
} catch (\Exception $e) {