55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"Commands": [
|
|
{
|
|
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
|
|
"JsonString": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=全局_业务配置"
|
|
},
|
|
"SampleJson": "{\"版本名\":\"Develop\",\"版本号\":\"\"}",
|
|
"ToParameter": "业务配置"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
|
"ErrorCode": "0",
|
|
"Message": "获取成功",
|
|
"CustomReturns": [
|
|
{
|
|
"ReturnPropertyName": "版本号",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=业务配置.版本名&\" v\"&业务配置.版本号"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ReturnProperties": [
|
|
{
|
|
"Name": "版本号"
|
|
}
|
|
]
|
|
} |