{"Message":"增加钉钉工作通知测试","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/开发测试"},{"State":1,"Type":11,"Name":"UserService"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/初始化钉钉配置"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/通过免登码获取用户信息"},{"State":1,"Type":15,"Name":"ServerCommand/绑定钉钉UnionId"},{"State":3,"Type":15,"Name":"ServerCommand/服务端命令5"},{"State":3,"Type":15,"Name":"ServerCommand/发送工作通知消息"}],"Version":"v1"}
This commit is contained in:
99
ServerCommands/钉钉/发送工作通知消息.json
Normal file
99
ServerCommands/钉钉/发送工作通知消息.json
Normal file
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
],
|
||||
"InvokeTriggerTestData": {
|
||||
"UserName": "Administrator"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "DingTalkPlugin.Asyncsend, DingTalkPlugin",
|
||||
"Userid_list": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=接收人"
|
||||
},
|
||||
"MsgType": "text",
|
||||
"Text_Content": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=消息内容"
|
||||
},
|
||||
"Action_card_Btn_Type": "0",
|
||||
"Action_card_Markdown": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=生成结果"
|
||||
},
|
||||
"Action_card_Title": "这是一个工作汇报卡片模板测试",
|
||||
"Action_card_Single_title": "XXX提交了个人日报",
|
||||
"Action_card_Single_Url": "https://www.baidu.com",
|
||||
"Action_card_Btn_orientation": "1",
|
||||
"Action_card_Btn_list": [
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
},
|
||||
{
|
||||
"Title": "查看"
|
||||
}
|
||||
],
|
||||
"Task_id": "钉钉消息任务ID"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user