{"Message":"版本发布增加对活字格发布日志的读取","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/版本发布详情"},{"State":1,"Type":1,"Name":"PCPage/个人中心"},{"State":1,"Type":1,"Name":"PCPage/个人中心-基本信息"},{"State":1,"Type":11,"Name":"UserService"},{"State":1,"Type":40,"Name":"Plugin"},{"State":3,"Type":15,"Name":"ServerCommand/获取活字格发布日志"},{"State":3,"Type":1,"Name":"PCPage/导入活字格发布日志"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-09-04 18:26:05 +08:00
parent 52e1a95121
commit 17d373cf95
11 changed files with 1272 additions and 209 deletions

View File

@@ -0,0 +1,155 @@
{
"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": "日志列表"
}
]
}