107 lines
4.5 KiB
JSON
107 lines
4.5 KiB
JSON
{
|
|
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
|
|
"Name": "发送工作通知消息",
|
|
"Enabled": true,
|
|
"Triggers": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
|
"Permission": {
|
|
"$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon",
|
|
"PermissionData": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
|
"permissionResource": {
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
|
},
|
|
"permissionBindings": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
|
"roleNames": {
|
|
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
|
"$values": [
|
|
"FGC_LoginUser"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"Parameters": {
|
|
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
|
"Name": "接收人",
|
|
"DataValidationInfo": {
|
|
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
|
|
"IgnoreBlank": false
|
|
},
|
|
"TestData": "shamus"
|
|
},
|
|
{
|
|
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
|
"Name": "消息内容",
|
|
"DataValidationInfo": {
|
|
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
|
|
"IgnoreBlank": false
|
|
},
|
|
"TestData": "### 测试Clue消息推送\r\n - xxxxxxxxxxxx;\r\n - xxxxxxxxxx;\r\n - xxxxxxxxxxxxxxx;"
|
|
}
|
|
]
|
|
},
|
|
"InvokeTriggerTestData": {
|
|
"$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon",
|
|
"UserName": "Administrator"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"Commands": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "DingTalkPlugin.Asyncsend, DingTalkPlugin",
|
|
"UserType": "UserName",
|
|
"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": {
|
|
"$type": "System.Collections.Generic.List`1[[DingTalkPlugin.CardBtn, DingTalkPlugin]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "DingTalkPlugin.CardBtn, DingTalkPlugin",
|
|
"Title": "查看详情",
|
|
"Url": "https://www.baidu.com"
|
|
},
|
|
{
|
|
"$type": "DingTalkPlugin.CardBtn, DingTalkPlugin",
|
|
"Title": "更多...",
|
|
"Url": "https://www.baidu.com"
|
|
}
|
|
]
|
|
},
|
|
"Task_id": "钉钉消息任务ID",
|
|
"BreakpointIdentity": "7f2f88df-8fbe-42c6-8192-4366b80b3ab3"
|
|
}
|
|
]
|
|
}
|
|
} |