Files
clue/ServerCommands/钉钉/获取CorpId.json

56 lines
1.8 KiB
JSON

{
"Name": "获取CorpId",
"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_Anonymous"
]
}
]
}
},
"HttpMethod": 3
}
],
"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": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取成功",
"CustomReturns": [
{
"ReturnPropertyName": "CorpId",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钉钉配置.corpId"
}
}
]
}
],
"ReturnProperties": [
{
"Name": "CorpId"
}
]
}