no message
This commit is contained in:
parent
dfdcc4afc6
commit
ee343e5d3d
@ -97,10 +97,10 @@ final class TicketController extends BaseController
|
||||
$ticket->save();
|
||||
|
||||
if (Config::obtain('mail_ticket')) {
|
||||
Notification::notifyAdmin(
|
||||
$_ENV['appName'] . '-新工单被开启',
|
||||
'管理员,有人开启了新的工单,请你及时处理。'
|
||||
);
|
||||
// Notification::notifyAdmin(
|
||||
// $_ENV['appName'] . '-新工单被开启',
|
||||
// '管理员,有人开启了新的工单,请你及时处理。'
|
||||
// );
|
||||
|
||||
$sTgContent = "📮📮📮📮📮📮\n\n新工单\n\n工单号:".$ticket->id."\n\n用户ID:".$this->user->id."\n\n用户名:".$this->user->user_name."\n\n标题:".$title."\n\n内容:".$comment."
|
||||
";
|
||||
@ -161,12 +161,12 @@ final class TicketController extends BaseController
|
||||
$ticket->save();
|
||||
|
||||
if (Config::obtain('mail_ticket')) {
|
||||
Notification::notifyAdmin(
|
||||
$_ENV['appName'] . '-工单被回复',
|
||||
'管理员,有人回复了 <a href="' .
|
||||
$_ENV['baseUrl'] . '/admin/ticket/' . $ticket->id . '/view">#' . $ticket->id .
|
||||
'</a> 工单,请你及时处理。'
|
||||
);
|
||||
// Notification::notifyAdmin(
|
||||
// $_ENV['appName'] . '-工单被回复',
|
||||
// '管理员,有人回复了 <a href="' .
|
||||
// $_ENV['baseUrl'] . '/admin/ticket/' . $ticket->id . '/view">#' . $ticket->id .
|
||||
// '</a> 工单,请你及时处理。'
|
||||
// );
|
||||
|
||||
$sTgContent = "📮📮📮📮📮📮\n\n工单后续\n\n工单号:".$ticket->id."\n\n用户ID:".$this->user->id."\n\n用户名:".$this->user->user_name."\n\n标题:".$ticket->title."\n\n内容:".$comment."
|
||||
";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user