You've already forked guangan
222222
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user