Files
clue/ServerCommands/钉钉/初始化钉钉配置.json

48 lines
1.7 KiB
JSON

{
"Name": "初始化钉钉配置",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局_钉钉"
},
"SampleJson": "{\r\n \"corpId\": \"ding0cec4a8a821681c135c2f4657eb6378f\",\r\n \"AgentId\": \"3174653522\",\r\n \"AppKey\": \"dingus6w0kbp5wgiiepu\",\r\n \"AppSecret\": \"2nbEQx6wUWlSm1l1mzkVEvf0TWO77tQM7Thj7OycnOVK7UQWhrI4U717WgWTTGXg\"\r\n}",
"ToParameter": "钉钉配置"
},
{
"$type": "DingTalkPlugin.Init, DingTalkPlugin",
"AppID": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钉钉配置.AgentId"
},
"CorpId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钉钉配置.corpId"
},
"AgentId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钉钉配置.AgentId"
},
"AppKey": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钉钉配置.AppKey"
},
"DingTalkeExtendedName": "DingTalkUnionID",
"DingTalkeUserIdExtendedName": "DingTalkUserID",
"AppSecret": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钉钉配置.AppSecret"
}
}
]
}