{ "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": "3716b28549d34f30bf94e62264fe7b61" }, { "$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": "78370418-f177-48d4-9b49-b5f9726dace6" }, { "CommandList": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": "近期无有效发布内容", "CustomReturns": [ { "ReturnPropertyName": "日志列表" } ] } ], "ID": "e68613a9-dc6e-4227-9807-6a98daed4783" } ] } ], "ReturnProperties": [ { "Name": "日志列表" } ] }