projectmanager/config/message.php
2025-06-25 10:53:11 +08:00

44 lines
1.6 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// +----------------------------------------------------------------------
// | 消息模板
// +----------------------------------------------------------------------
return [
// 系统消息模板
'template' => [
1 => [
'title' => '{from_user}发了一个新『公告』,请及时查看',
'content' => '您有一个新公告:{title}。',
'link' => '<a class="link-a" data-href="/note/index/view/id/{action_id}">查看详情</a>',
],
21 => [
'title' => '您有一个新任务,请及时处理!',
'content' => '{from_user}在{create_time}给@你分配了一个新任务{title}请及时进入项目管理系统跟进处理。',
'link' => '<a class="link-a" data-href="/task/index/detail/id/{action_id}">查看详情</a>',
],
22 => [
'title' => '{from_user}转了一个任务给你,请及时处理',
'content' => '{from_user}在{create_time}给你转了一个任务『{title}』,请及时跟进处理。',
'link' => '系统地址http://project.meteteme.com/ <--点击直达 ',
],
99 => [
'title' => '{title}',
'content' => '
{from_user} 发布了一个新任务, 请及时跟进处理。',
'touid' => '
任务指派给:@{touid}',
'link' => '
系统地址http://project.meteteme.com/ <--点击直达 ',
'at' => [
"atUserIds" => [
'touid' => '{touid}' // 在这里添加要提及的用户ID
],
"isAtAll" => false
]
],
]
];