{"Message":"1. 更新Gtee同步逻辑,只从最后一天开始同步;\r\n2. 增加页面手动同步按钮;","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/项目菜单"},{"State":1,"Type":7,"Name":"Table/Git仓库表"},{"State":1,"Type":15,"Name":"ServerCommand/GitCallback"},{"State":2,"Type":15,"Name":"ServerCommand/同步仓库的所有提交"},{"State":1,"Type":1,"Name":"PCPage/项目代码"},{"State":1,"Type":16,"Name":"TaskScheduler/仓库新增事件"},{"State":1,"Type":7,"Name":"Table/积分记录表"},{"State":1,"Type":31,"Name":"UserControlPage/Gitee事件记录列表"},{"State":3,"Type":38,"Name":"Image/下载.svg"},{"State":3,"Type":15,"Name":"ServerCommand/从页面同步仓库的所有提交"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/同步仓库的所有提交"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-20 21:38:31 +08:00
parent 775f43fffe
commit e11a3f9fd3
14 changed files with 934 additions and 419 deletions

View File

@@ -0,0 +1,80 @@
{
"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"
]
}
]
}
},
"Parameters": [
{
"Name": "仓库ID",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "分支名",
"DataValidationInfo": {}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "同步仓库的所有提交",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "仓库ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "分支名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分支名"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
}
]
}