{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":27,"Name":"ServerCommandPrivate/自动更新版本号"}],"Version":"v1"}

This commit is contained in:
超哥
2024-07-04 10:04:13 +08:00
parent 767ab38a84
commit 7ed43b4a3d
2 changed files with 124 additions and 91 deletions

View File

@@ -2246,16 +2246,7 @@
}, },
{ {
"ModuleName": "ServerCommandPrivate/自动更新版本号", "ModuleName": "ServerCommandPrivate/自动更新版本号",
"State": 1, "ModuleType": 27
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-07-04T10:03:00.074568+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\系统\\自动更新版本号.json"
]
}, },
{ {
"ModuleName": "ServerCommand/更新版本号到页面", "ModuleName": "ServerCommand/更新版本号到页面",

View File

@@ -10,6 +10,32 @@
} }
], ],
"Commands": [ "Commands": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局_业务配置"
},
"SampleJson": "{\r\n \"版本名\": \"Develop\",\r\n \"版本号\": \"\",\r\n \"版本ID\":1\r\n}",
"ToParameter": "业务配置"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"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": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": { "PostData": {
@@ -20,7 +46,10 @@
{ {
"Name": "VersionID", "Name": "VersionID",
"DataItemType": 0, "DataItemType": 0,
"Data": 1 "Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=业务配置.版本ID"
}
} }
] ]
} }
@@ -49,15 +78,6 @@
"value": "0" "value": "0"
}, },
"CommandList": [ "CommandList": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局_业务配置"
},
"SampleJson": "{\r\n \"版本名\": \"Develop\",\r\n \"版本号\": \"\"\r\n}",
"ToParameter": "业务配置"
},
{ {
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"Operation": 4, "Operation": 4,
@@ -79,6 +99,13 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.Version" "SerializeProperty": "=result.Version"
} }
},
{
"Name": "版本ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=业务配置.版本ID"
}
} }
], ],
"OutParamaterName": "新业务配置" "OutParamaterName": "新业务配置"
@@ -109,7 +136,7 @@
"Message": "设置成功" "Message": "设置成功"
} }
], ],
"ID": "79dce003-18a0-4571-91a5-88f376530dc4" "ID": "e0060989-7e8e-4302-8723-53a3cc456848"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -125,7 +152,22 @@
} }
} }
], ],
"ID": "9a647215-dd71-4e8c-9935-4858e4ec4f54" "ID": "84cf9285-4048-42ea-ade9-8c2f6307ded5"
}
]
}
],
"ID": "a3f8292f-4617-41da-931d-2d9fa4412a2d"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "尚未指定版本ID"
}
],
"ID": "53b64c14-dfb9-4852-b8a3-2b8aeccf809e"
} }
] ]
} }