{"Message":"完善版本管理页面\r\n完善Gitee账号绑定页面","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目表"},{"State":1,"Type":7,"Name":"Table/项目版本"},{"State":1,"Type":7,"Name":"Table/需求反馈登记表"},{"State":1,"Type":1,"Name":"PCPage/项目版本管理"},{"State":1,"Type":1,"Name":"PCPage/任务版本详情"},{"State":1,"Type":31,"Name":"UserControlPage/Git仓库卡片"},{"State":1,"Type":1,"Name":"PCPage/分支选择"},{"State":1,"Type":1,"Name":"PCPage/完善Gitee资料"},{"State":2,"Type":38,"Name":"Image/gitee1.svg"},{"State":4,"Type":15,"Name":"ServerCommand/更新GITEE信息"},{"State":2,"Type":15,"Name":"ServerCommand/测试Mustache"},{"State":3,"Type":20,"Name":"ServerCommands/OPENAPI"},{"State":3,"Type":15,"Name":"ServerCommand/DeploymentNotification"},{"State":3,"Type":7,"Name":"Table/项目发布记录"},{"State":3,"Type":38,"Name":"Image/git-branch.svg"}],"Version":"v1"}
This commit is contained in:
311
ServerCommands/Gitee/更新GITEE信息.json
Normal file
311
ServerCommands/Gitee/更新GITEE信息.json
Normal file
@@ -0,0 +1,311 @@
|
||||
{
|
||||
"Name": "更新GITEE信息",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "用户名",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
"TestData": "Administrator"
|
||||
},
|
||||
{
|
||||
"Name": "Git用户名",
|
||||
"DataValidationInfo": {},
|
||||
"TestData": "cuckooent"
|
||||
},
|
||||
{
|
||||
"Name": "Git密码",
|
||||
"DataValidationInfo": {},
|
||||
"TestData": "x6158891C"
|
||||
}
|
||||
],
|
||||
"InvokeTriggerTestData": {
|
||||
"UserName": "Administrator"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
|
||||
"JsonString": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=全局_Gitee"
|
||||
},
|
||||
"SampleJson": "{\r\n \"client_id\": \"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\r\n \"client_secret\": \"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\"\r\n}",
|
||||
"ToParameter": "Gitee配置"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "用户",
|
||||
"TableValue": {
|
||||
"TableName": "用户信息视图",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "f93daff7-8a41-4e6d-ae95-c5da5cf2d4ea",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "用户名",
|
||||
"GUID": "adce5931-be11-4801-8178-6bed10f2c9b2"
|
||||
},
|
||||
"ColumnName": "用户名"
|
||||
},
|
||||
{
|
||||
"GUID": "e492c62f-3726-431f-a9b8-f0803767cb90",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "全名",
|
||||
"GUID": "7deda464-b19d-48b4-bb68-3f738a324abc"
|
||||
},
|
||||
"ColumnName": "全名"
|
||||
},
|
||||
{
|
||||
"GUID": "e4431bdd-85fc-4c72-970f-74bbba378349",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "邮件",
|
||||
"GUID": "07d2c92f-708b-46a8-9610-3c326740dd88"
|
||||
},
|
||||
"ColumnName": "邮件"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "用户名",
|
||||
"GUID": "5528766a-0121-41a8-99b1-1d47fcfc5c60"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
}
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "3f0ffb1d3f7f4655b6e6d27fe8b598f3"
|
||||
},
|
||||
{
|
||||
"$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": "=用户"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
|
||||
"PostData": {
|
||||
"DataItemType": 1,
|
||||
"Data": {
|
||||
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
|
||||
"Data": [
|
||||
{
|
||||
"Name": "grant_type",
|
||||
"DataItemType": 0,
|
||||
"Data": "password"
|
||||
},
|
||||
{
|
||||
"Name": "username",
|
||||
"DataItemType": 0,
|
||||
"Data": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Git用户名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "password",
|
||||
"DataItemType": 0,
|
||||
"Data": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Git密码"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "client_id",
|
||||
"DataItemType": 0,
|
||||
"Data": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Gitee配置.client_id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "client_secret",
|
||||
"DataItemType": 0,
|
||||
"Data": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Gitee配置.client_secret"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "scope",
|
||||
"DataItemType": 0,
|
||||
"Data": "user_info projects pull_requests issues notes keys hook groups gists enterprises"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"JsonString": "",
|
||||
"WebUrl": "https://gitee.com/oauth/token",
|
||||
"Method": "POST",
|
||||
"SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
|
||||
"ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
|
||||
"NewParameter": "result",
|
||||
"Header": [],
|
||||
"Timeout": 100.0
|
||||
},
|
||||
{
|
||||
"$type": "SaveFormData.fillInJSONProperties, SaveFormData",
|
||||
"FullJsonString": "{\r\n \"error\": \"invalid_grant\",\r\n \"error_description\": \"授权方式无效,或者登录回调地址无效、过期或已被撤销\",\r\n \"access_token\": \"5c7c5fe2b1f0fc025c1a38006b6e95f3\",\r\n \"token_type\": \"bearer\",\r\n \"expires_in\": 86400,\r\n \"refresh_token\": \"03be42668ee199713604ff75491eeb0904a665d069de178c6c8f73c0a50a6ab6\",\r\n \"scope\": \"user_info projects pull_requests issues notes keys hook groups gists enterprises\",\r\n \"created_at\": 1718241807\r\n}",
|
||||
"SourceJson": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result"
|
||||
},
|
||||
"ResultTo": "RES"
|
||||
},
|
||||
{
|
||||
"$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": "=RES.error"
|
||||
}
|
||||
},
|
||||
"value": "%Null%"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "UserManagementCommandsV2.UserManagementCommand, UserManagementCommandsV2",
|
||||
"OperationType": "202",
|
||||
"CommandOperator": {
|
||||
"$type": "UserManagementCommandsV2.UpdateUserOperator, UserManagementCommandsV2",
|
||||
"UserName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
},
|
||||
"FullName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户.全名"
|
||||
},
|
||||
"Email": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户.邮件"
|
||||
},
|
||||
"ExtendedProperties": [
|
||||
{
|
||||
"Name": "GIT用户名",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Git用户名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "GIT密码",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Git密码"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "保存成功"
|
||||
}
|
||||
],
|
||||
"ID": "014e33da-3afd-4d65-80e7-af7fd58ced10"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result.error"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result.error_description"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "e6d43ff4-be74-45c3-b98a-7a140635f32d"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "465ea1cc-084f-4a65-8d72-4db87b5030d2"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "用户不存在"
|
||||
}
|
||||
],
|
||||
"ID": "81378159-d987-4662-a42b-0abef3076cf0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
293
ServerCommands/OPENAPI/DeploymentNotification.json
Normal file
293
ServerCommands/OPENAPI/DeploymentNotification.json
Normal file
@@ -0,0 +1,293 @@
|
||||
{
|
||||
"Name": "DeploymentNotification",
|
||||
"Description": "应用部署接口,用来自动通知应用部署事件。",
|
||||
"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_Anonymous"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"HttpMethod": 2,
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "ProjectCode",
|
||||
"Remark": "项目代号",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "VersionName",
|
||||
"Remark": "版本名称,例如:develop、preview、bate、alpha...",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "VersionCode",
|
||||
"Remark": "具体的版本好,例如1.0.0",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "版本",
|
||||
"TableValue": {
|
||||
"TableName": "项目版本",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "0b9270f2-a361-4341-92a8-caaf1179dfc4",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目版本",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "ee296702-5f8d-4144-a1b4-bc0b5eb143ad"
|
||||
},
|
||||
"ColumnName": "ID"
|
||||
},
|
||||
{
|
||||
"GUID": "7c242a00-9384-4d39-9360-3c32045b9684",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目版本",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "3b4b415d-6902-4978-bda8-6708cf3c9a6c"
|
||||
},
|
||||
"ColumnName": "项目ID"
|
||||
},
|
||||
{
|
||||
"GUID": "fbc18acd-4f1f-4a50-ba61-1e67607e8a1c",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目版本",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "a035fd5a-d24e-4a16-a09c-a1e10df97293",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "项目经理"
|
||||
}
|
||||
},
|
||||
"ColumnName": "项目经理"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目版本",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "5ff14dfb-25d8-427d-be7a-57075aee63f1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ProjectCode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目版本",
|
||||
"ColumnName": "版本名称",
|
||||
"GUID": "04d65631-430a-4bea-9ef6-8aebc90ae34a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=VersionName"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "76a4d9a6fad142bdac9c8e202035ded0"
|
||||
},
|
||||
{
|
||||
"$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": "=版本"
|
||||
}
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目版本",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目版本",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "5027905b-f3b6-49a2-b31a-231a6672034b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=版本.ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目版本",
|
||||
"ColumnName": "最新版本号",
|
||||
"GUID": "829f1424-897d-4704-9575-4e896c5f0af6"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=VersionCode"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目发布记录",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目发布记录",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "6985688f-5d91-4494-aa6c-37a172ffb2d5"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=版本.项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目发布记录",
|
||||
"ColumnName": "版本ID",
|
||||
"GUID": "5bc2e76e-24b7-44f8-b1b9-116d660daea4"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=版本.ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目发布记录",
|
||||
"ColumnName": "发布版本号",
|
||||
"GUID": "2daef053-9ea4-4b36-ae0e-a4419db4e20b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=VersionCode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目发布记录",
|
||||
"ColumnName": "负责人",
|
||||
"GUID": "5dc6e639-b11b-4f17-8e68-4d15b8db187f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=版本.项目经理"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目发布记录",
|
||||
"ColumnName": "发布时间",
|
||||
"GUID": "4036a7e6-bf6a-4cd4-b1b8-4c0b5c80647c"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=NOW()"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目发布记录",
|
||||
"ColumnName": "是否发布",
|
||||
"GUID": "c865673d-7c03-4827-aacd-91152c02de9e"
|
||||
},
|
||||
"Value": "0"
|
||||
}
|
||||
],
|
||||
"ParamNameToSaveNewRowValue": "新发布记录"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "success",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "ReleaseID",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=新发布记录.ID"
|
||||
},
|
||||
"Remark": "发布ID\r\n="
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "62675496-6a80-401d-9560-86c115ebca87"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "无法找到对应版本",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "ReleaseID",
|
||||
"Remark": "发布ID\r\n="
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "f21c4122-59c4-4286-9dea-e3671f0bb153"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ReturnProperties": [
|
||||
{
|
||||
"Name": "ReleaseID",
|
||||
"Remark": "发布ID\r\n="
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"Name": "测试Mustache",
|
||||
"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": "MustachePlugin.Render, MustachePlugin",
|
||||
"DataSrouce": "1",
|
||||
"UseCustomsDataHash": true,
|
||||
"CustomsDataHash": "1",
|
||||
"SetMaxRecursionDepth": 1512,
|
||||
"ResultTo": "输出结果"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,97 +0,0 @@
|
||||
{
|
||||
"Name": "更新GITEE信息",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "用户名",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "Git用户名",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "Git密码",
|
||||
"DataValidationInfo": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "UserManagementCommandsV2.UserManagementCommand, UserManagementCommandsV2",
|
||||
"OperationType": "202",
|
||||
"CommandOperator": {
|
||||
"$type": "UserManagementCommandsV2.UpdateUserOperator, UserManagementCommandsV2",
|
||||
"UserName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
},
|
||||
"ExtendedProperties": [
|
||||
{
|
||||
"Name": "GIT用户名",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Git用户名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "GIT密码",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Git密码"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "保存成功"
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user