Files
clue/ServerCommands/系统/获取活字格发布日志.json

155 lines
5.2 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"
]
}
]
}
},
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "日志路径",
"ParameterValue": "C:\\Windows\\Temp\\ForguncyServerLog\\ForguncyUserService\\WebsiteLog",
"ID": "6ff7a331ab9b4eea9a7efceae37ce51c"
},
{
"$type": "ReadLogs.ReadLogsMain, ReadLogs",
"LogPath": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日志路径"
},
"AppName": "clue",
"ModuleType": "PublishLog",
"ResultTo": "获取结果"
},
{
"$type": "CollectionOperationKit.ServerSideArrayQuery, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=获取结果"
},
"OperationParamaterPairs": [
{
"Name": "备注",
"Op": 1,
"Value": "%null%"
}
],
"OutParamaterName": "有备注的列表"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=有备注的列表"
}
},
"value": "%Null%",
"compareType": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=有备注的列表.Count"
}
},
"value": "0",
"compareType": 2
}
]
},
"CommandList": [
{
"$type": "ContentEditor.ContentEditor, ContentEditor",
"Content": "{{#.}}\r\n{{备注}}\r\n{{/.}}",
"Result": "模板内容",
"Disabled": true
},
{
"$type": "MustachePlugin.Render, MustachePlugin",
"DataSrouce": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板内容"
},
"UseCustomsDataHash": true,
"CustomsDataHash": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=有备注的列表"
},
"SetMaxRecursionDepth": 3,
"ResultTo": "输出结果",
"Disabled": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取成功",
"CustomReturns": [
{
"ReturnPropertyName": "日志列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=有备注的列表"
}
}
]
}
],
"ID": "ed23df2b-cbd1-44ef-9681-15e8641bac06"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "近期无有效发布内容",
"CustomReturns": [
{
"ReturnPropertyName": "日志列表"
}
]
}
],
"ID": "9b84e965-6643-4da1-b519-413690a7b84f"
}
]
}
],
"ReturnProperties": [
{
"Name": "日志列表"
}
]
}