Files
clue/ServerCommands/OPENAPI/GetAllVersion.json

338 lines
17 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
"Name": "GetAllVersion",
"Description": "获取某项目某版本的最新版本号",
"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_Anonymous"
]
}
}
]
}
}
},
"HttpMethod": 2,
"Parameters": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "versionId",
"Remark": "具体的版本好例如1.0.0",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false
},
"TestData": "34"
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "pageNum",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
},
{
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "pageSize",
"DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}
}
]
},
"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": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "版本信息",
"TableValue": {
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
"TableName": "项目版本",
"TableValueType": 1,
"BindingInfos": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "9ea19fbf-075e-48fc-98b0-6c5ba0558bb7",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目版本",
"ColumnName": "版本名称",
"GUID": "1bb4008c-2570-4a34-a1a2-4427d8e6de04"
},
"ColumnName": "版本名称"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "e9f818eb-8f94-4e6b-bcf7-c58acfee5d33",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目版本",
"ColumnName": "最新版本号",
"GUID": "bdf5a6c3-ccf7-4cdf-a515-f0549673c2d3"
},
"ColumnName": "最新版本号"
}
]
},
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目版本",
"ColumnName": "ID",
"GUID": "35314cff-e62f-4ccc-8358-1d31f55d95a8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=versionId"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "2f8dcc8234c14aba8ad4b762f6b51737",
"BreakpointIdentity": "7c1acae1-b90c-41ef-9e9c-418d21ffdc51"
},
{
"$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": "=版本信息"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": {
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "发布记录",
"TableValue": {
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
"TableName": "项目发布记录",
"TableValueType": 1,
"BindingInfos": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "d0f38369-e9de-4031-aa86-a5ddbe347a28",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录",
"ColumnName": "版本ID",
"GUID": "885160e2-60af-42cb-b806-4db7b582a487",
"RelationBinding": {
"$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess",
"RelatedTable": "项目版本",
"RelatedColumn": "ID",
"DisplayColumn": "版本名称"
}
},
"ColumnName": "name"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "fcfeaa3d-8053-4e75-bc13-8e240838d482",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录",
"ColumnName": "发布版本号",
"GUID": "5ec760fd-7830-4bea-959f-53f208daa009"
},
"ColumnName": "verstion"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "b9869ebe-88ec-4688-a7ef-838105b01444",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录",
"ColumnName": "发布内容",
"GUID": "cb340d4c-7c99-4298-9e77-f957e72959be"
},
"ColumnName": "content"
},
{
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "1496199c-c5d4-4a21-b4a0-449655659e02",
"BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录",
"ColumnName": "发布时间",
"GUID": "eb70dc3b-8771-40c1-8397-05210bb27b86"
},
"ColumnName": "update"
}
]
},
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": {
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
"$values": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录",
"ColumnName": "版本ID",
"GUID": "494c8bd9-f6be-4469-aa41-5c01ba801aad"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=versionId"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录",
"ColumnName": "发布版本号",
"GUID": "fb79df69-4a12-4099-a24a-be2afb0aacf6"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=版本信息.最新版本号"
}
}
]
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=pageSize"
},
"OffsetCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=(IF(pageNum=\"\",1,pageNum)-1)*IF(pageSize=\"\",10,pageSize)"
},
"OrderBySqlCondition": {
"$type": "ForguncyDataAccess.OrderBySqlCondition, ForguncyDataAccess",
"OrderByColumns": {
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.OrderBySqlConditionItem, ForguncyDataAccess]], System.Private.CoreLib",
"$values": [
{
"$type": "ForguncyDataAccess.OrderBySqlConditionItem, ForguncyDataAccess",
"ColumnBindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录",
"ColumnName": "发布时间",
"GUID": "95d562d6-9d01-48eb-969c-4929861ec1bf"
},
"Order": 1
}
]
}
}
},
"ID": "87211a25e94543e8a33354d4ccffabd4",
"BreakpointIdentity": "50f4a0c3-6a35-4a51-b695-74789903952d"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "success",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "verstionLogs",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=发布记录"
}
}
]
},
"BreakpointIdentity": "28cb5dd4-bcd1-4765-bc41-7b12db79a302"
}
]
},
"ID": "d7683b8d-f503-48b6-b700-09aa4516984a"
},
{
"$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": "400",
"Message": "无法找到对应版本",
"CustomReturns": {
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
"ReturnPropertyName": "verstionLogs"
}
]
},
"BreakpointIdentity": "d540cc54-4f6e-43fe-b4de-cd68bf3e2238"
}
]
},
"ID": "97475063-6265-4299-ba9e-f8d258cf5c55"
}
]
},
"BreakpointIdentity": "8ebd949f-0e48-44f0-9d55-a3e333093ce9"
}
]
},
"ReturnProperties": {
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
"$values": [
{
"$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon",
"Name": "verstionLogs"
}
]
}
}