{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/版本发布详情"},{"State":1,"Type":1,"Name":"PCPage/更新日志"},{"State":2,"Type":1,"Name":"PCPage/导入活字格发布日志"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":2,"Type":15,"Name":"ServerCommand/获取更新日志"},{"State":2,"Type":15,"Name":"ServerCommand/GetUpdateLogs"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-11-28 22:02:51 +08:00
parent c50dac0890
commit 658ce43007
9 changed files with 207 additions and 1533 deletions

View File

@@ -1,240 +0,0 @@
{
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
"Name": "获取更新日志",
"Enabled": true,
"Triggers": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
"Permission": {
"$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon",
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": {
"$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": {
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
"$values": [
"FGC_LoginUser"
]
}
}
]
}
}
},
"HttpMethod": 3,
"InvokeTriggerTestData": {
"$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon",
"UserName": "Administrator"
}
}
]
},
"Commands": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局_业务配置"
},
"SampleJson": "{\r\n \"项目ID\": \"1\",\r\n \"版本ID\": \"1\",\r\n \"版本名\": \"Develop\",\r\n \"版本号\": \"1.0.0\",\r\n \"自动拉会\": {\r\n \"间隔时间\": 3600,\r\n \"最大次数\": 0\r\n }\r\n}",
"ToParameter": "业务配置",
"BreakpointIdentity": "ec484bd2-858b-4da7-a386-4b260efa9b3a"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=业务配置.版本ID"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "ApplicationServerOperationCommand.GetAppBaseUrlCommand, ApplicationServerOperationCommand",
"ParamName": "baseUrl",
"BreakpointIdentity": "2605e7f8-4f4a-4981-90c8-b42216099c45"
},
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"$type": "PostDataToWebApi.DataItem, PostDataToWebApi",
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": {
"$type": "System.Collections.Generic.List`1[[PostDataToWebApi.DataItem, PostDataToWebApi]], System.Private.CoreLib",
"$values": [
{
"$type": "PostDataToWebApi.DataItem, PostDataToWebApi",
"Name": "key",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=业务配置.版本ID"
}
}
]
}
}
},
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=baseUrl&\"/ServerCommand/GetUpdateLogs\""
},
"Method": "GET",
"SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
"NewParameter": "result",
"Header": {
"$type": "System.Collections.Generic.List`1[[PostDataToWebApi.RequestHeaderSaveAndLoad, PostDataToWebApi]], System.Private.CoreLib",
"$values": []
},
"Timeout": 100.0,
"BreakpointIdentity": "ec1df0e4-381f-4c9e-9e73-392122ebd292"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.ErrCode"
}
},
"value": "0"
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "设置成功",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "更新日志数组",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.logs"
}
}
]
},
"BreakpointIdentity": "52059770-5151-434e-ace4-f8940ba4bccc"
}
]
},
"ID": "2e20185f-c210-474a-baa7-54478535809f"
},
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.ErrCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.Message"
},
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "更新日志数组"
}
]
},
"BreakpointIdentity": "58b4925f-c814-4849-9485-03036fc0d688"
}
]
},
"ID": "6da4feff-897d-4a81-9f88-426fb3b86759"
}
]
},
"BreakpointIdentity": "49705872-f7d1-4390-9c8e-e1092d4f2932"
}
]
},
"ID": "c9faad5d-3857-4059-9c5b-a59d1643b571"
},
{
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "尚未指定版本ID",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "更新日志数组"
}
]
},
"BreakpointIdentity": "87857291-8abb-4d37-9f2c-a727ea6b59d5"
}
]
},
"ID": "f3ae2161-3709-488f-b715-9dc6be65c3f0"
}
]
},
"BreakpointIdentity": "9d67c061-81d8-476b-8833-c79462dc68c6"
}
]
},
"ReturnProperties": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon",
"Name": "更新日志数组"
}
]
}
}