78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"Name": "发送工作通知消息",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
|
"Permission": {
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
|
},
|
|
"permissionBindings": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"roleNames": [
|
|
"FGC_LoginUser"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"Parameters": [
|
|
{
|
|
"Name": "接收人",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
},
|
|
"TestData": "shamus"
|
|
},
|
|
{
|
|
"Name": "消息内容",
|
|
"DataValidationInfo": {
|
|
"IgnoreBlank": false
|
|
},
|
|
"TestData": "### 测试Clue消息推送\r\n - xxxxxxxxxxxx;\r\n - xxxxxxxxxx;\r\n - xxxxxxxxxxxxxxx;"
|
|
}
|
|
],
|
|
"InvokeTriggerTestData": {
|
|
"UserName": "Administrator"
|
|
}
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "DingTalkPlugin.Asyncsend, DingTalkPlugin",
|
|
"Userid_list": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=接收人"
|
|
},
|
|
"MsgType": "action_card",
|
|
"Text_Content": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=消息内容"
|
|
},
|
|
"Action_card_Btn_Type": "1",
|
|
"Action_card_Markdown": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=消息内容"
|
|
},
|
|
"Action_card_Title": "XXX提交了个人日报",
|
|
"Action_card_Single_title": "查看详情",
|
|
"Action_card_Single_Url": "https://www.baidu.com",
|
|
"Action_card_Btn_orientation": "0",
|
|
"Action_card_Btn_list": [
|
|
{
|
|
"Title": "查看详情",
|
|
"Url": "https://www.baidu.com"
|
|
},
|
|
{
|
|
"Title": "更多...",
|
|
"Url": "https://www.baidu.com"
|
|
}
|
|
],
|
|
"Task_id": "钉钉消息任务ID"
|
|
}
|
|
]
|
|
} |