77 lines
2.8 KiB
JSON
77 lines
2.8 KiB
JSON
{
|
|
"Name": "应用部署时",
|
|
"Enabled": true,
|
|
"Triggers": [
|
|
{
|
|
"$type": "Forguncy.SaveLoad.AppReDeployTriggerSaveData, ServerDesignerCommon"
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
|
|
"JsonString": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=全局_业务配置"
|
|
},
|
|
"SampleJson": "{\"版本号\":\"1.0.0\"}",
|
|
"ToParameter": "业务配置"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "版本号",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=业务配置.版本号"
|
|
},
|
|
"ID": "a259420da6d342f2b652f4100fd8d01a"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "新版本号",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=IFERROR(LEFT(版本号,LOOKUP(2,1/(MID(版本号,ROW(INDIRECT(\"1:\"&LEN(版本号))),1)=\".\"),ROW(INDIRECT(\"1:\"&LEN(版本号))))-1)&\".\"&(RIGHT(版本号,LEN(版本号)-LOOKUP(2,1/(MID(版本号,ROW(INDIRECT(\"1:\"&LEN(版本号))),1)=\".\"),ROW(INDIRECT(\"1:\"&LEN(版本号)))))+1),版本号&\".1\")"
|
|
},
|
|
"ID": "a081deb0a9854e059b034311411a164f"
|
|
},
|
|
{
|
|
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
|
"Operation": 3,
|
|
"InParamater": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=业务配置"
|
|
},
|
|
"OperationParamaterName": "版本号",
|
|
"OperationParamaterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=新版本号"
|
|
},
|
|
"OutParamaterName": "业务配置"
|
|
},
|
|
{
|
|
"$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand",
|
|
"SourceObject": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=业务配置"
|
|
},
|
|
"ToParameter": "业务配置字符串"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ServerChangeGlobalPropertyCommand, ServerDesignerCommon",
|
|
"ChangedGlobalProperties": [
|
|
{
|
|
"Name": "全局_业务配置",
|
|
"Formula": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=业务配置字符串"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "自增版本号成功"
|
|
}
|
|
]
|
|
} |