{"Message":"新增WebHook的订阅","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/FGC_订单记录","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/FGC_订单明细表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/FGC_商品表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/项目动态"},{"State":1,"Type":7,"Name":"Table/项目版本"},{"State":1,"Type":23,"Name":"TableView/用户信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户角色关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织级别视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色分类关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色拥有权限视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色组织关系视图","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/message_test","ExclusiveType":0},{"State":1,"Type":1,"Name":"PCPage/项目版本管理"},{"State":1,"Type":1,"Name":"PCPage/任务版本详情"},{"State":1,"Type":1,"Name":"PCPage/任务-任务信息"},{"State":1,"Type":1,"Name":"PCPage/新增任务"},{"State":1,"Type":1,"Name":"PCPage/工时总览"},{"State":1,"Type":1,"Name":"PCPage/个人工时首页"},{"State":1,"Type":1,"Name":"PCPage/首页"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":15,"Name":"ServerCommand/AI报工数据转日报"},{"State":1,"Type":8,"Name":"ApplicationSetting"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":26,"Name":"Upload"},{"State":1,"Type":39,"Name":"PublishConfiguration"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/请求令牌"},{"State":2,"Type":27,"Name":"ServerCommandPrivate/创建一个仓库WebHook"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/删除一个仓库WebHook"},{"State":1,"Type":7,"Name":"Table/Git仓库表"},{"State":1,"Type":15,"Name":"ServerCommand/GitCallback"},{"State":1,"Type":7,"Name":"Table/Git_事件记录"},{"State":1,"Type":1,"Name":"PCPage/选择Git仓库"},{"State":1,"Type":15,"Name":"ServerCommand/同步一个仓库到表"},{"State":1,"Type":15,"Name":"ServerCommand/搜索仓库"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/列出仓库的WebHooks"},{"State":3,"Type":16,"Name":"TaskScheduler/应用部署时"},{"State":3,"Type":20,"Name":"ServerCommands/系统"},{"State":3,"Type":15,"Name":"ServerCommand/获取版本号"},{"State":3,"Type":15,"Name":"ServerCommand/列出授权用户所有的Namespace"},{"State":3,"Type":15,"Name":"ServerCommand/创建一个仓库WebHook"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-13 19:51:48 +08:00
parent b8f39fbefc
commit 658b5c7f8f
35 changed files with 2989 additions and 3212 deletions

View File

@@ -9,47 +9,17 @@
}, },
{ {
"ModuleName": "Table/FGC_订单记录", "ModuleName": "Table/FGC_订单记录",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5723876+08:00",
"ModuleType": 7, "ModuleType": 7,
"ToRemoveFiles": [
"Tables\\FGC_页面模板文件夹\\联动页\\FGC_订单记录.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "Table/FGC_订单明细表", "ModuleName": "Table/FGC_订单明细表",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5723997+08:00",
"ModuleType": 7, "ModuleType": 7,
"ToRemoveFiles": [
"Tables\\FGC_页面模板文件夹\\联动页\\FGC_订单明细表.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "Table/FGC_商品表", "ModuleName": "Table/FGC_商品表",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724013+08:00",
"ModuleType": 7, "ModuleType": 7,
"ToRemoveFiles": [
"Tables\\FGC_页面模板文件夹\\联动页\\FGC_商品表.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
@@ -74,16 +44,7 @@
}, },
{ {
"ModuleName": "Table/项目动态", "ModuleName": "Table/项目动态",
"State": 1, "ModuleType": 7
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T19:11:00.5227274+08:00",
"ModuleType": 7,
"ToRemoveFiles": [
"Tables\\项目\\项目动态.json"
]
}, },
{ {
"ModuleName": "Table/项目岗位", "ModuleName": "Table/项目岗位",
@@ -91,16 +52,7 @@
}, },
{ {
"ModuleName": "Table/项目版本", "ModuleName": "Table/项目版本",
"State": 1, "ModuleType": 7
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T18:31:17.065001+08:00",
"ModuleType": 7,
"ToRemoveFiles": [
"Tables\\项目\\项目版本.json"
]
}, },
{ {
"ModuleName": "Table/项目预算变动表", "ModuleName": "Table/项目预算变动表",
@@ -236,137 +188,47 @@
}, },
{ {
"ModuleName": "TableView/用户信息视图", "ModuleName": "TableView/用户信息视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724094+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\用户信息视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "TableView/用户组织关系视图", "ModuleName": "TableView/用户组织关系视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724133+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\用户组织关系视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "TableView/用户角色关系视图", "ModuleName": "TableView/用户角色关系视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724153+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\用户角色关系视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "TableView/组织信息视图", "ModuleName": "TableView/组织信息视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724175+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\组织信息视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "TableView/组织级别视图", "ModuleName": "TableView/组织级别视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724192+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\组织级别视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "TableView/角色信息视图", "ModuleName": "TableView/角色信息视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.572421+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\角色信息视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "TableView/角色分类关系视图", "ModuleName": "TableView/角色分类关系视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724236+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\角色分类关系视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "TableView/角色拥有权限视图", "ModuleName": "TableView/角色拥有权限视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.572427+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\角色拥有权限视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
"ModuleName": "TableView/角色组织关系视图", "ModuleName": "TableView/角色组织关系视图",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724287+08:00",
"ModuleType": 23, "ModuleType": 23,
"ToRemoveFiles": [
"Tables\\用户\\角色组织关系视图.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
@@ -407,17 +269,7 @@
}, },
{ {
"ModuleName": "Table/message_test", "ModuleName": "Table/message_test",
"State": 1,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.572432+08:00",
"ModuleType": 7, "ModuleType": 7,
"ToRemoveFiles": [
"Tables\\汇报\\message_test.json",
"ForguncyDB.sqlite3"
],
"ExclusiveType": 0 "ExclusiveType": 0
}, },
{ {
@@ -742,19 +594,7 @@
}, },
{ {
"ModuleName": "PCPage/项目版本管理", "ModuleName": "PCPage/项目版本管理",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T18:22:45.5554699+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\项目\\项目首页\\项目首页-容器页面\\项目版本管理.json",
"Pages\\项目\\项目首页\\项目首页-容器页面\\项目版本管理.rd",
"Pages\\97bdc47834844e0d8f3a5aef747785e.json",
"Pages\\97bdc47834844e0d8f3a5aef747785e.rd"
]
}, },
{ {
"ModuleName": "PCPage/项目版本配置", "ModuleName": "PCPage/项目版本配置",
@@ -762,17 +602,7 @@
}, },
{ {
"ModuleName": "PCPage/任务版本详情", "ModuleName": "PCPage/任务版本详情",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T18:22:45.5553166+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\项目\\项目首页\\项目首页-容器页面\\任务版本详情.json",
"Pages\\项目\\项目首页\\项目首页-容器页面\\任务版本详情.rd"
]
}, },
{ {
"ModuleName": "PCPage/项目周报列表", "ModuleName": "PCPage/项目周报列表",
@@ -856,17 +686,7 @@
}, },
{ {
"ModuleName": "PCPage/任务-任务信息", "ModuleName": "PCPage/任务-任务信息",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T18:22:45.5558355+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\任务\\任务-任务信息.json",
"Pages\\任务\\任务-任务信息.rd"
]
}, },
{ {
"ModuleName": "PCPage/任务-关联资源", "ModuleName": "PCPage/任务-关联资源",
@@ -894,17 +714,7 @@
}, },
{ {
"ModuleName": "PCPage/新增任务", "ModuleName": "PCPage/新增任务",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T18:22:45.5556827+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\任务\\新增任务.json",
"Pages\\任务\\新增任务.rd"
]
}, },
{ {
"ModuleName": "PCPage/新增进展", "ModuleName": "PCPage/新增进展",
@@ -1056,17 +866,7 @@
}, },
{ {
"ModuleName": "PCPage/工时总览", "ModuleName": "PCPage/工时总览",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:59:05.1939829+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\工时\\工时总览.json",
"Pages\\工时\\工时总览.rd"
]
}, },
{ {
"ModuleName": "PCPage/任务工时统计", "ModuleName": "PCPage/任务工时统计",
@@ -1078,17 +878,7 @@
}, },
{ {
"ModuleName": "PCPage/个人工时首页", "ModuleName": "PCPage/个人工时首页",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:59:53.1836039+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\工时\\个人工时首页.json",
"Pages\\工时\\个人工时首页.rd"
]
}, },
{ {
"ModuleName": "Pages/个人中心", "ModuleName": "Pages/个人中心",
@@ -1152,19 +942,7 @@
}, },
{ {
"ModuleName": "PCPage/首页", "ModuleName": "PCPage/首页",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:08:07.5099304+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\首页\\首页.json",
"Pages\\首页\\首页.rd",
"Pages\\2d17eefef7c5473fbc54f0c5820a6c1.json",
"Pages\\2d17eefef7c5473fbc54f0c5820a6c1.rd"
]
}, },
{ {
"ModuleName": "PCPage/AI欢迎页", "ModuleName": "PCPage/AI欢迎页",
@@ -1176,17 +954,7 @@
}, },
{ {
"ModuleName": "MasterPCPage/FGC_母版页", "ModuleName": "MasterPCPage/FGC_母版页",
"State": 1, "ModuleType": 3
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:08:07.5097102+08:00",
"ModuleType": 3,
"ToRemoveFiles": [
"MasterPages\\FGC_母版页.json",
"MasterPages\\FGC_母版页.rd"
]
}, },
{ {
"ModuleName": "MasterPages/流程母版页面文件夹", "ModuleName": "MasterPages/流程母版页面文件夹",
@@ -1366,16 +1134,7 @@
}, },
{ {
"ModuleName": "ServerCommand/AI报工数据转日报", "ModuleName": "ServerCommand/AI报工数据转日报",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:03:36.4568597+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\汇报\\AI报工数据转日报.json"
]
}, },
{ {
"ModuleName": "ServerCommand/AI内容转报工数据", "ModuleName": "ServerCommand/AI内容转报工数据",
@@ -1439,17 +1198,7 @@
}, },
{ {
"ModuleName": "ApplicationSetting", "ModuleName": "ApplicationSetting",
"State": 1, "ModuleType": 8
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:03:36.4566591+08:00",
"ModuleType": 8,
"ToRemoveFiles": [
"ApplicationSettings.json",
"favicon.ico"
]
}, },
{ {
"ModuleName": "Theme", "ModuleName": "Theme",
@@ -1797,19 +1546,7 @@
}, },
{ {
"ModuleName": "CustomLibrary", "ModuleName": "CustomLibrary",
"State": 1, "ModuleType": 12
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:30:12.4483687+08:00",
"ModuleType": 12,
"ToRemoveFiles": [
"CustomLibraries.json",
"UserFile\\BaseCss.css",
"UserFile\\CustomFormula.js",
"UserFile\\echart.js"
]
}, },
{ {
"ModuleName": "MapJsonFile", "ModuleName": "MapJsonFile",
@@ -1821,75 +1558,15 @@
}, },
{ {
"ModuleName": "Upload", "ModuleName": "Upload",
"State": 1, "ModuleType": 26
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5728476+08:00",
"ModuleType": 26,
"ToRemoveFiles": [
"Upload\\485a297c-1ba3-42a6-afe8-c2409d9f01fe_app-logo2.png",
"Upload\\485a297c-1ba3-42a6-afe8-c2409d9f01fe_app-logo2.small.png",
"Upload\\86eb9c3b-133d-4cb0-ba1b-06aa7189f6b7_Animation - 1718097457056.json",
"Upload\\a78dd055-76a1-433b-b6a1-70cff99fd6fb_app-logo2.png",
"Upload\\a78dd055-76a1-433b-b6a1-70cff99fd6fb_app-logo2.small.png"
]
}, },
{ {
"ModuleName": "PublishConfiguration", "ModuleName": "PublishConfiguration",
"State": 1, "ModuleType": 39
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:01:08.8801986+08:00",
"ModuleType": 39,
"ToRemoveFiles": [
"PublishSettingsConfig.json"
]
}, },
{ {
"ModuleName": "Plugin", "ModuleName": "Plugin",
"State": 1, "ModuleType": 40
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T19:51:37.6209357+08:00",
"ModuleType": 40,
"ToRemoveFiles": [
"Plugin\\Echarts图表-10_0_3_0.zip",
"Plugin\\Editormd-6_0_102_0.zip",
"Plugin\\Forguncy.CustomMenu.zip",
"Plugin\\Forguncy.PassListviewDataCommand.zip",
"Plugin\\JSON 序列化和反序列化-10_0_2_0.zip",
"Plugin\\JSON数据源-10_0_2_0.zip",
"Plugin\\LottiePlayer.zip",
"Plugin\\Notiflix-9_0_103_0.zip",
"Plugin\\OPENAIFORGUNCY.zip",
"Plugin\\PC组件包-格友工作室定制版-10_0_2_0.zip",
"Plugin\\SqlServerWrapper.zip",
"Plugin\\Tiny富文本编辑器-10_0_2_0.zip",
"Plugin\\xTools快速开发工具包-9_0_4_0(1).zip",
"Plugin\\加载动画-10_0_2_0.zip",
"Plugin\\发送HTTP请求命令-10_0_2_0.zip",
"Plugin\\增强关闭页面-9_0_6.zip",
"Plugin\\复制到剪贴板-7_0_3_0.zip",
"Plugin\\客户端缓存操作工具库-8_0_0_0.zip",
"Plugin\\富文本编辑器-10_0_2_0.zip",
"Plugin\\对象与集合操作工具-8_0_0_0.zip",
"Plugin\\异步运行命令-9_0_103_0.zip",
"Plugin\\支持预览的附件上传-10_0_2_0.zip",
"Plugin\\服务端缓存操作工具库-8_0_3_0.zip",
"Plugin\\模板引擎操作库-9_0_103_0.zip",
"Plugin\\甘特图-10_0_2_0.zip",
"Plugin\\用户管理命令 V2-10_0_2_0.zip",
"Plugin\\网络操作库-9_0_102_0.zip",
"Plugin\\表格报表-10_0_3_0.zip",
"Plugin\\设置当前行命令-10_0_2_0.zip",
"Plugin\\设置焦点命令-10_0_2_0.zip"
]
}, },
{ {
"ModuleName": "PublishSetting", "ModuleName": "PublishSetting",
@@ -1957,29 +1634,7 @@
}, },
{ {
"ModuleName": "ServerCommandPrivate/请求令牌", "ModuleName": "ServerCommandPrivate/请求令牌",
"State": 1, "ModuleType": 27
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T18:17:41.3046507+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\请求令牌.json"
]
},
{
"ModuleName": "ServerCommandPrivate/创建一个仓库WebHook",
"State": 2,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T19:03:37.7647311+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\创建一个仓库WebHook.json"
]
}, },
{ {
"ModuleName": "Pages/系统", "ModuleName": "Pages/系统",
@@ -1991,29 +1646,11 @@
}, },
{ {
"ModuleName": "ServerCommandPrivate/删除一个仓库WebHook", "ModuleName": "ServerCommandPrivate/删除一个仓库WebHook",
"State": 1, "ModuleType": 27
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:31:40.5603546+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\删除一个仓库WebHook.json"
]
}, },
{ {
"ModuleName": "Table/Git仓库表", "ModuleName": "Table/Git仓库表",
"State": 1, "ModuleType": 7
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:38:10.8697819+08:00",
"ModuleType": 7,
"ToRemoveFiles": [
"Tables\\Git\\Git仓库表.json"
]
}, },
{ {
"ModuleName": "Table/Git_WebHook", "ModuleName": "Table/Git_WebHook",
@@ -2025,16 +1662,7 @@
}, },
{ {
"ModuleName": "ServerCommand/GitCallback", "ModuleName": "ServerCommand/GitCallback",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:36:39.1553383+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\GitCallback.json"
]
}, },
{ {
"ModuleName": "Table/日志表", "ModuleName": "Table/日志表",
@@ -2042,32 +1670,11 @@
}, },
{ {
"ModuleName": "Table/Git_事件记录", "ModuleName": "Table/Git_事件记录",
"State": 1, "ModuleType": 7
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:35:42.5724358+08:00",
"ModuleType": 7,
"ToRemoveFiles": [
"Tables\\Git\\Git_事件记录.json"
]
}, },
{ {
"ModuleName": "PCPage/选择Git仓库", "ModuleName": "PCPage/选择Git仓库",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T18:08:30.6608165+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\Git\\选择Git仓库.json",
"Pages\\Git\\选择Git仓库.rd",
"Pages\\4347ba70d904424d852fada4b0f0b0a.json",
"Pages\\4347ba70d904424d852fada4b0f0b0a.rd"
]
}, },
{ {
"ModuleName": "Pages/Git", "ModuleName": "Pages/Git",
@@ -2075,16 +1682,7 @@
}, },
{ {
"ModuleName": "ServerCommand/同步一个仓库到表", "ModuleName": "ServerCommand/同步一个仓库到表",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:20:11.7162188+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\同步一个仓库到表.json"
]
}, },
{ {
"ModuleName": "ServerCommand/搜索仓库列表", "ModuleName": "ServerCommand/搜索仓库列表",
@@ -2092,75 +1690,30 @@
}, },
{ {
"ModuleName": "ServerCommand/搜索仓库", "ModuleName": "ServerCommand/搜索仓库",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:33:39.176116+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\Gitee\\搜索仓库.json"
]
}, },
{ {
"ModuleName": "ServerCommandPrivate/列出仓库的WebHooks", "ModuleName": "ServerCommandPrivate/列出仓库的WebHooks",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T16:39:36.2331453+08:00",
"ModuleType": 27 "ModuleType": 27
}, },
{ {
"ModuleName": "TaskScheduler/应用部署时", "ModuleName": "TaskScheduler/应用部署时",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:04:40.296414+08:00",
"ModuleType": 16 "ModuleType": 16
}, },
{ {
"ModuleName": "ServerCommands/系统", "ModuleName": "ServerCommands/系统",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:07:09.5736756+08:00",
"ModuleType": 20 "ModuleType": 20
}, },
{ {
"ModuleName": "ServerCommand/获取版本号", "ModuleName": "ServerCommand/获取版本号",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T17:07:28.3833029+08:00",
"ModuleType": 15 "ModuleType": 15
}, },
{ {
"ModuleName": "ServerCommand/列出授权用户所有的Namespace", "ModuleName": "ServerCommand/列出授权用户所有的Namespace",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T18:08:30.6604619+08:00",
"ModuleType": 15 "ModuleType": 15
}, },
{ {
"ModuleName": "ServerCommand/创建一个仓库WebHook", "ModuleName": "ServerCommand/创建一个仓库WebHook",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-13T19:03:37.7647975+08:00",
"ModuleType": 15 "ModuleType": 15
} }
] ]

View File

@@ -6,12 +6,16 @@
"ListviewLoadingIndicatorSettings": {}, "ListviewLoadingIndicatorSettings": {},
"GlobalProperties": [ "GlobalProperties": [
{ {
"Name": "全局配置", "Name": "全局_业务配置",
"Value": "{\"版本号\":\"1.0.0\"}"
},
{
"Name": "全局_AI配置",
"Value": "{\"AI提示词1\": \"我将发给你一个记录着某人一天工作内容的数据为JSON字符串请你尝试解读它内容中的[汇报类型]分为`日报`和`计划`。\\n- 日报指的是昨日工作内容的总结;\\n- 计划指的是今日计划工作安排;\\n请你使用为我生成HTML格式的汇报内容对于日报结构和要求如下\\n标题为固定格式YYYY年MM年DD月-某某工作日报\\n内容包含两个主题昨日工作总结、今日工作计划\\n每个主题下的内容从JSON中总结可以适当润色但不可过度偏离源数据中的工作内容,所用工时在内容后面用括号备注,如:(1h)\"}" "Value": "{\"AI提示词1\": \"我将发给你一个记录着某人一天工作内容的数据为JSON字符串请你尝试解读它内容中的[汇报类型]分为`日报`和`计划`。\\n- 日报指的是昨日工作内容的总结;\\n- 计划指的是今日计划工作安排;\\n请你使用为我生成HTML格式的汇报内容对于日报结构和要求如下\\n标题为固定格式YYYY年MM年DD月-某某工作日报\\n内容包含两个主题昨日工作总结、今日工作计划\\n每个主题下的内容从JSON中总结可以适当润色但不可过度偏离源数据中的工作内容,所用工时在内容后面用括号备注,如:(1h)\"}"
}, },
{ {
"Name": "全局_Gitee", "Name": "全局_Gitee",
"Value": "{\"enterprise\":\"GridStudio\",\"client_id\":\"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\"client_secret\":\"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\"}" "Value": "{\"client_id\":\"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\"client_secret\":\"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\",\"回调地址\":\"https://develop.gridfriend.cn/sims/ServerCommand/GitCallback\"}"
} }
], ],
"WebSitePort": 26489, "WebSitePort": 26489,

Binary file not shown.

View File

@@ -60,18 +60,6 @@
"DesignLengthInPixel": 176.0 "DesignLengthInPixel": 176.0
} }
}, },
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 230.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
}
},
"2": { "2": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 230.0, "DesignLengthInPixel": 230.0,
@@ -110,25 +98,43 @@
}, },
"5": { "5": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 190.0 "DesignLengthInPixel": 230.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
} }
}, },
"6": { "6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 190.0
}
},
"7": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0 "DesignLengthInPixel": 32.0
} }
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 118.0
}
} }
}, },
"Count": 7, "Count": 8,
"DefaultSize": 230.0 "DefaultSize": 230.0
}, },
"Values": { "Values": {
"1,0": "TeamAction", "1,0": "TeamAction",
"1,1": "1.0.0.0",
"5,0": "%CurrentUser.UserName%", "5,0": "%CurrentUser.UserName%",
"5,1": "%CurrentUser.FullName%" "5,2": "%CurrentUser.FullName%"
}, },
"Formulas": { "Formulas": {
"6,0": "ODATA(\"ACT_RU_TASK_View/$count?$filter=负责人 eq \"&IF(ISBLANK(F2),\"null\",\"'\"&F2&\"'\")&\" and 类型 ne '抄送'\")" "6,0": "ODATA(\"ACT_RU_TASK_View/$count?$filter=负责人 eq \"&IF(ISBLANK(G2),\"null\",\"'\"&G2&\"'\")&\" and 类型 ne '抄送'\")"
}, },
"AttachInfos": { "AttachInfos": {
"1,0": { "1,0": {
@@ -142,7 +148,7 @@
"IconSize": 22.0 "IconSize": 22.0
} }
}, },
"1,1": { "1,2": {
"CssName": "pms-menu-row", "CssName": "pms-menu-row",
"CellType": { "CellType": {
"$type": "Forguncy.CustomMenu.ForguncyMenuCellType, Forguncy.CustomMenu", "$type": "Forguncy.CustomMenu.ForguncyMenuCellType, Forguncy.CustomMenu",
@@ -413,7 +419,7 @@
] ]
} }
}, },
"1,5": { "1,6": {
"CellType": { "CellType": {
"$type": "Forguncy.CurrentUserCellType, ServerDesignerCommon", "$type": "Forguncy.CurrentUserCellType, ServerDesignerCommon",
"CellCustomValue": "%CurrentUser%", "CellCustomValue": "%CurrentUser%",
@@ -438,26 +444,36 @@
"Foreground": 3, "Foreground": 3,
"HorizontalAlignment": 4 "HorizontalAlignment": 4
}, },
{
"FontSize": 13.333333333333332,
"Foreground": 3,
"Formatter": 5,
"HorizontalAlignment": 4
},
{ {
"FontSize": 13.333333333333332 "FontSize": 13.333333333333332
}, },
{ {
"FontFamily": 5, "FontFamily": 6,
"FontSize": 13.333333333333332, "FontSize": 13.333333333333332,
"Foreground": 6, "Foreground": 7,
"HorizontalAlignment": 7, "HorizontalAlignment": 8,
"BorderBottom": null, "BorderBottom": null,
"BorderTop": null, "BorderTop": null,
"BorderLeft": null, "BorderLeft": null,
"BorderRight": null "BorderRight": null
}, },
{ {
"Background": 6 "FontSize": 12.0,
"Foreground": 7
}, },
{ {
"Background": 8, "Background": 7
},
{
"Background": 9,
"FontSize": 13.333333333333332, "FontSize": 13.333333333333332,
"Foreground": 9, "Foreground": 10,
"HorizontalAlignment": 4 "HorizontalAlignment": 4
} }
], ],
@@ -468,6 +484,7 @@
"Normal", "Normal",
"Background 2 0", "Background 2 0",
"Center", "Center",
"\"v\"@",
"Body", "Body",
"Background 1 0", "Background 1 0",
"Right", "Right",
@@ -478,15 +495,17 @@
"CellStyles": { "CellStyles": {
"1,0": 0, "1,0": 0,
"1,1": 1, "1,1": 1,
"1,5": 2, "1,2": 2,
"3,0": 3 "1,6": 3,
"2,1": 4,
"3,0": 5
}, },
"RowStyles": { "RowStyles": {
"5": 4, "5": 6,
"6": 4 "6": 6
}, },
"SheetStyle": { "SheetStyle": {
"FontFamily": 5, "FontFamily": 6,
"BorderBottom": null, "BorderBottom": null,
"BorderTop": null, "BorderTop": null,
"BorderLeft": null, "BorderLeft": null,
@@ -494,8 +513,8 @@
} }
}, },
"Spans": [ "Spans": [
"1,1,1,4", "1,2,1,4",
"3,0,2,7" "3,0,2,8"
], ],
"PageInfo": { "PageInfo": {
"$type": "Forguncy.Model.Pages.MasterPage, ServerDesignerCommon", "$type": "Forguncy.Model.Pages.MasterPage, ServerDesignerCommon",
@@ -910,6 +929,26 @@
"cssAnimation": true, "cssAnimation": true,
"rtl": false "rtl": false
} }
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "获取版本号",
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "版本号",
"ResultTo": {
"SerializeProperty": "=FGC_母版页!当前版本号"
}
}
],
"RequestAsync": true,
"CheckDataValidation": false
} }
], ],
"IsBuiltInPage": true "IsBuiltInPage": true
@@ -929,7 +968,7 @@
}, },
"IsAutomaticStroke": false, "IsAutomaticStroke": false,
"IsAutomaticFill": false, "IsAutomaticFill": false,
"Size": "1318,46", "Size": "1436,46",
"BoxShadowString": "0 2 0 5 #175D7183" "BoxShadowString": "0 2 0 5 #175D7183"
} }
], ],
@@ -944,7 +983,11 @@
}, },
{ {
"Name": "母版_当前用户姓名", "Name": "母版_当前用户姓名",
"Formula": "FGC_母版页!$B$6" "Formula": "FGC_母版页!$C$6"
},
{
"Name": "当前版本号",
"Formula": "FGC_母版页!$B$2"
} }
] ]
}//2Z1/uoPhJAYGzVNKINO+9ogYhEVcFcB6gYF2jPn41Sl3If1ja6iEoExc6XFF3RmUbvgNMqgYyCkeXpeESCAn6ivill/oavPvEWIf0DHiaAbbuGP7fs9PjceTE1IQOfIvMOA1/rRzdT4+JdweqPG56/a6vFi9JkgbWInl5TjfqIs/tKwQ/suvcUsborWoVmUWNYvqybVQXeGblBpY2DH/WhqTBfnHhFgl9QlOPLkBzAvRQx+SSqRm4KN7WTTLoCV3+4bMJfZAngQOjhKGejEMu2FKhU1F1ieqp05M8/fR+NrlNYTKMpsyqRMfv1zdsowIuc03vQJtVEb9oMfNz464Df9dRvZlf6XHvwDNJzzL1xObhfGqo+G9P8zZCiWX6S2a5QICM9m/+EEW80gqHFXZkvlod0kHLdx6QQpkUUdw+MWNpZwIt/CwOImLJ7LON0QRi34kdlJx71c50BS2mF1NMIkYD4Xv27ev+U04MjGbW9fDZQ2lL1uP1fSiSsueK65EWzc25WZA0moIgg0W+k6bMo/cpY4uEj/YPdVlwidFmisqrGfwMoikKJo6y4vu8XPhBBOG/a5zjPFVBeagpIoezcUXe7XYtm39enFwRX+VTVbTNJQErMYoPEGt6fJTNdmMto/LEB1bUkVqN3tx4WDd7TsMcKXIertRn02t3tS4JKDVcbWM3QTqrh7EVG9NwGPbHVrTm6NaRKxCAK8tRnh5uzISKrmHERTsizb57LHPC/KmqpfwTXZBtuq777ZnO3Q4IeV8eKuTROCySbizeaqf6ozZDzIbWAMZ6J86NQIpDKj5TGH9wOcLBKAugbe7CxQGObApSqGOZJtmQSINJc3450bnt2s+nyYQYdqeOvtR7Ct283dhdzw6aUDv2py6EBW2Mr8Vr9djB8wXbfs0yfcmOg==|920 }//DqAOLa72l5lm7r5D78FCz4o3r9ferJ2byytTjh4e5CoQkB6u55qoqk0ONnO6UaWD2iN+wblAcyqFC+gNgCvH+4GZkypPXpFwZy6ZAF2YrneV7xIRIyBE7fXWhzlVYAylBfJZmZaaietJN3du4NkuFPOfV97gtNGWc1zNbbf+9ucWw6pa/LVtK+JRYmDmZ8UE+l9umaq+OxA/7WoVdFmPd1hcpGSwe4Xq8y9AFg3TjJ1r4uH0ML2S8qqZgwq7u7jdOFe1m2GFgbfJ4/HBsCexIf8D/p+/wkUrB9PyOOEUfQ0YFTfa30+IeqVBFmSUwbkd9ExIS7FZtPHVXmapeWL2YrB+sgGS6evSZtjaZ4s6FN/8f+8G8JdJk0DM27LCEEHIoxUZRlkSWUkL2CxbuNSdcFPjgQdgn/n2MMPB6QnF+1emTTVrYn2zAmj1r8sNmcBQzHXEwbECNrJboj8QGzhuWn+OE8w3G0JqiOZeiQeud11ZzafKm7KMbc9MBWc4e34ibBWLPcK88Ku4e9Q5IvoWFdun5qlJ2W4cVDXrSkxDoadob5/dqizpPLjHizhzJsOE8wk5i/rpD1PO/rQiRALQhXifvKDzCUTCYPHm3EbNFKCYjy9/M6JyNBwGM6v3tZmS/w18DBO+Rbd/7t2Ss7pegVsFzn3Eq0u5aEiGVM4Be9YgKL9Z6jGrWGpX417QFb7VrFSL8WFLLl3ADv21M8jWpL4qivhVrpfD4WYcOKPu1fR9/8yEAfUFwH3+Fbs3wfsSWAqh+zlDWb/jCPNbmT3svLCC7GrBQ0f3Eq3coTw0PuTmSnj93xElTmKAtuU7SR23G0Py19/2CRsK18Ilc7p5HKHzWzcfvreTOf1c+gl/k0zxrax6BKZIKm8s1fHnkFoV08HhwxaxwTDrtxTQ0qqm7w==|920

View File

@@ -1,9 +1,9 @@
{ {
"PageType": 1, "PageType": 1,
"ColumnCount": 7, "ColumnCount": 8,
"RowCount": 7, "RowCount": 7,
"Formulas": { "Formulas": {
"6,0": "ODATA(\"ACT_RU_TASK_View/$count?$filter=负责人 eq \"&IF(ISBLANK(F2),\"null\",\"'\"&F2&\"'\")&\" and 类型 ne '抄送'\")" "6,0": "ODATA(\"ACT_RU_TASK_View/$count?$filter=负责人 eq \"&IF(ISBLANK(G2),\"null\",\"'\"&G2&\"'\")&\" and 类型 ne '抄送'\")"
}, },
"CustomNames": [ "CustomNames": [
{ {
@@ -16,7 +16,11 @@
}, },
{ {
"Name": "母版_当前用户姓名", "Name": "母版_当前用户姓名",
"Formula": "FGC_母版页!$B$6" "Formula": "FGC_母版页!$C$6"
},
{
"Name": "当前版本号",
"Formula": "FGC_母版页!$B$2"
} }
] ]
} }

File diff suppressed because it is too large Load Diff

View File

@@ -3,10 +3,6 @@
"ColumnCount": 41, "ColumnCount": 41,
"RowCount": 27, "RowCount": 27,
"CustomNames": [ "CustomNames": [
{
"Name": "选择仓库ID",
"Formula": "选择Git仓库!$B$27"
},
{ {
"Name": "当前页码", "Name": "当前页码",
"Formula": "选择Git仓库!$J$27" "Formula": "选择Git仓库!$J$27"

View File

@@ -368,7 +368,7 @@
"MethodName": "ReloadBindingItems" "MethodName": "ReloadBindingItems"
} }
], ],
"ID": "7fc8ad10-5ebd-4fbe-81d5-2a96ed6199d1" "ID": "49067081-06a7-47e4-b71f-6bb1f6c977ab"
} }
] ]
} }
@@ -458,7 +458,7 @@
] ]
} }
], ],
"ID": "23d6decd-442e-433c-b957-d4778e6a1a24" "ID": "58fcd20b-2839-48a8-a997-0ffd88f66526"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -475,12 +475,12 @@
] ]
} }
], ],
"ID": "15c9e7bf-75e6-4a00-9b53-758710b42052" "ID": "96f7418a-3ba8-4852-8471-bad0e9d3cd15"
} }
] ]
} }
], ],
"ID": "35a985ac-9d1a-4755-a59a-3019e5889393" "ID": "ebbe9c87-953e-4c49-bbf9-a503a9537f57"
} }
] ]
} }
@@ -550,7 +550,7 @@
] ]
} }
], ],
"ID": "31483ac2-7401-4f0b-a52a-6a1c12f4cf3b" "ID": "b2ec47f3-2334-4867-b25e-f6f33abfe114"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -567,7 +567,7 @@
] ]
} }
], ],
"ID": "69e7d37d-2f01-4644-9ed7-31037a1e6079" "ID": "e250e99c-ff69-4958-ba8e-14f69fc2c9f9"
} }
] ]
} }
@@ -655,7 +655,7 @@
] ]
} }
], ],
"ID": "02a8ca40-c244-4783-ab30-43105650447c" "ID": "25088740-a4bb-47fd-be9e-471bd83f0b5e"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -672,12 +672,12 @@
] ]
} }
], ],
"ID": "61b95591-1563-4557-86ee-43c4629a423c" "ID": "39893087-c3db-42f1-99f3-088b7c36ad6a"
} }
] ]
} }
], ],
"ID": "4f90c79b-4719-40e8-9a27-a08ffa1151be" "ID": "a46d0ae7-b63a-4bd1-9756-a53b6c756495"
} }
] ]
} }
@@ -747,7 +747,7 @@
] ]
} }
], ],
"ID": "26e855b0-e75a-402d-b23f-b5444121abfd" "ID": "bcee987a-3bca-4a69-b717-64f0a15aed3b"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -764,7 +764,7 @@
] ]
} }
], ],
"ID": "240d1f06-deed-4118-a162-e49c6f4e481a" "ID": "056edeb2-ba91-4e85-a495-918c0230d118"
} }
] ]
} }
@@ -1028,7 +1028,7 @@
] ]
} }
], ],
"ID": "cd01a0e9-2f60-412b-9a09-c7e7c90eeb69" "ID": "695875b5-2a4e-40a3-88ec-99f64fdad8c9"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -1045,7 +1045,7 @@
] ]
} }
], ],
"ID": "46efadda-fa73-486d-b795-d6e35c38ddf6" "ID": "8a6b6f9a-827f-4355-945b-3b898f9cac3e"
} }
] ]
}, },
@@ -1079,7 +1079,7 @@
] ]
} }
], ],
"ID": "2f78c1eb-f440-4f7b-8ca0-47e583f5683b" "ID": "84e7b339-d665-4db8-9e68-f1852855ba83"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -1096,7 +1096,7 @@
] ]
} }
], ],
"ID": "b4e4ce1f-ea9b-4b29-891b-0ac80e27a07f" "ID": "df01d0ae-fd51-4243-ad48-9a130aa21d42"
} }
] ]
} }
@@ -1158,4 +1158,4 @@
"Formula": "'任务-任务信息'!$S$14" "Formula": "'任务-任务信息'!$S$14"
} }
] ]
}//rW9yAczguNqWGjUqWqK3DbY8SRnT7AXzgDUWO3JTFb2wtv3KgJ0btim8N/2wg5EX96yXIFnWRWyrVOpS0ObnGwYU0hDCysUBEzdnBkpHN1v7hlxoUhhsKuh3m1v65mR3CJo2SecaaHExdVU5a4tzMC9eTfJuAP4Z8qujqUTOw2qZxbuBuTi280XLjZLxiQi5HC+id3ffMoNWrz4mmoLfG0MAujIdy816rAltoDj05LZcwYXPj4tSiXcjBy4tFioj4Zr/zdBGK2H9H6OyyVrnGKNkU2kzQJlsbGKF6LMXr40e/8+JLLYOZTeqvzybCRDWVAS5+4W3tOcNUC6caXH1G/bld84tGGYzRtzAzSe9maOva8Nr6rnJO9W9201RUOt4JvsYgWgJZkZQFkqkyodSQunCu/ioOAmRNrT20QQRAgqhm0TbXugCcIgv32+2nHJiPBnJtJmaSoC9gSM8wFC5Vizt+7XCHjMeSotcIlSPEZwAJIijAyBynTnp+ay7gGn5kOGLn8OrlaUsQb/3Aeyo+ajsVWGHk8XbgMjNbkng0LKvyLM9gVN50eEsQfnj/+v1BApXn3JMYRq2Zwgvmpyj/giAmAzRQIDQL/GRSeK8tX1FoVWihx+bbw0lbHarbNH9x+nB+VkAAe44+9P7ZFPiHZ6UUy+Wyf7lxlO4cUaNIwepPKuvydqB9VtkJsIzLbooHFx9qVUZu+XQsQ56UDBEcNd+5U8Ke66O30tFrzzmWq6PtcIEM6LDtq42v4TLombAvMrwbP0i8VevGUXQWj/ASqtCUf6SGtnGVqNZRybzDJ1SWdWhFK4I1w+NZKtS0L7BtEaZsGbbmmtHXlQQessy2BhMj9oJviP7mZHD+9O9XBQQOfL8F+uq1LfTuWbSSNn5uJazpUU6jlq2wCjpUc8eqQ==|920 }//L5Qe0S2f7K5lTdtgGjvmg1oO3kvUa6YB+ANV4+T2UCiGZNEvcDwbuRjYz/YnIzxgxIFnGrb/f4SRYYPMxBIvGVMSgj6P9LjW6pqVUZNDSVfOkzBWt9IFQbppSk1WRcJiuXMzVCG6wEj/O2d7OyLuMuYFyrP/pqopEKqk53PQfHffdQs+ZfpALhHzbn8rzvEs4hCfxwYWjo1d6SqC441uA9tcN0/iR57QLRNO9eisAxrHD5BqSIMDn0t/ATNKY69lL3x1emN+WY3o9MD23QPhGM39jgp0zoJZZ0AHf5qWQ+8JYjvNg9X4pUOVYOcDBCrBwPKWNgQYITJm54FfVPxiWxgEcKK9CJwCNnbgi8CWWeAiNUieiqUiT98iZ1NOrpWvU6iGrBLdivtJs//rgipyLXBszpy5nbw4m5TXQ5UtQC5PUTBiwZ97zZirdNDQljpSbeZ8EWc6zYS5sT9/SBLj9yUjc3yTXwmVFwA2/1ezBwAZOed5IDrs2EHQqIAokmCEpHLOXi5GqvWdwPHNdGKjYF4Ou+soX4nDzVVrgJmf7WnFmwcR3TDhCIpdQP6FErtWRTcnTohxjXsGVX2A34q1LtGflXaFiUgCEfdnP5ArmWh4TfPUUdoCFz22+egeDbL9kKuvNvNyIRLtXvAb0t2QCm9uKMWoS/idAyOEVqT22ZTSnrHxLoCxbNcZroWnMIzdj+0Y7ugOXcEQ9Oq7fLGN659esYdh17uBNhqJvyyxuOBXrmqxpowmOrcaSeW9DoV7LsorbnX/8HvtbyoUauqztZGKhkWEbgTJhVpPWUxst+NQf1iCxpcj9wtCWlhjoLHvmnnpfKec1S6E9gD5+jEToHsQT+hTP2kWnNQVbVBg3z9nC0CQbYUhKy/V/XoNo1x0qG3F1n/YwjV+EfUWol1qfg==|920

View File

@@ -564,7 +564,7 @@
"MethodName": "ReloadBindingItems" "MethodName": "ReloadBindingItems"
} }
], ],
"ID": "a6008ea1-547e-4ddf-bb98-ae7ef1294f45" "ID": "eee63b09-5ec9-4c3d-8e6b-11ee88fed5d4"
} }
] ]
} }
@@ -832,7 +832,7 @@
"MethodName": "ReloadBindingItems" "MethodName": "ReloadBindingItems"
} }
], ],
"ID": "300b65b9-5c09-47fc-b467-1693d61e742f" "ID": "66362171-c241-49d5-9a25-36e811d45441"
} }
] ]
} }
@@ -1256,7 +1256,7 @@
"ReloadData": true "ReloadData": true
} }
], ],
"ID": "4c05e90e-ff20-490d-8813-79ca3dea9eb5" "ID": "c4533079-32c4-42d4-8c1f-3dbb7e9abd3f"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -1271,7 +1271,7 @@
"BtnText": "知道了" "BtnText": "知道了"
} }
], ],
"ID": "2ddd83c7-6b07-446f-b695-e08ea030c727" "ID": "ae66ad44-670e-4710-9497-fc896f54ffbb"
} }
] ]
} }
@@ -1853,7 +1853,7 @@
"MethodName": "Focus" "MethodName": "Focus"
} }
], ],
"ID": "f5eab659-994b-487a-ac4b-a88f3a11cde0" "ID": "49a41927-451b-48bc-8dd7-841364df0fc8"
}, },
{ {
"Condition": { "Condition": {
@@ -1887,7 +1887,7 @@
] ]
} }
], ],
"ID": "e91cf315-0f8d-4fbf-8aec-9e58964c0900" "ID": "31a8d90d-5a79-4825-9ed9-6fa6c54f845e"
} }
] ]
} }
@@ -1947,4 +1947,4 @@
"Formula": "新增任务!$E$26" "Formula": "新增任务!$E$26"
} }
] ]
}//MVWz/+0UayD5hyh3tunEUgpZEtQn9itMHODY08N+oNaLh9rJ5pwWemLZdGWAD0NgqJn6fAqnwPYiMbSgPDVzb7wMlXpv7+q62D7/W+S50OClm8IFdwQQj05cElgVado05C3dNuwXTQSmy1Rhg5TLEQXSAcM7J6ZLzOWUFUHS++tMWeHtPzDEAneW8C6A7G1MPawp9Yw+A4D+yCsC35z4thPyQou9nmTwFhvKNyawnw/L0QEEN2SUhjNtD8rnPBFP/gfbiTRsMr4MNwW1b0rQaZplNrqvskc1UU4MgFkNnv+8pWWIbK0jzhh/07+3aHUthYOzwCwR3kL344+7KD8PyTFjeFp0XaDUMRnByMhW8PP3jHOwRdZ2r0dWWNm3ZAn2YYFeptcb0ubpkseqbjo4qNsr1dUa9FB+j4GszkDNpCUUtzhvTTztlXjWYk2caI1D4ex5t3DAk1dfqHhIjDYKiP7UqXPtjeJ0k0nodj4a1R91sC00/1S9xEkuJxJMioa3xTM+Xh3EwO0/DX2JL4aS+FtY5ls5ofjoJl8/PSa5vVrIQNhc2oX3YHxk3+YZiqeOaGLLO7cp+iBAfLn02w2T9if4A86yASHZJ07UQm4Fz+Q4omtrfSXK3KGHwezF6fhrBz5a/bVSFU5aeuzbFZLA1TbCiz1BH7Txw6m6ZuXvgx0hStDSXljPAcPBremFVWwJMSAzJx1aRtNp/UaIeirHdyFJpBh401U1W+L+OPvkF2RIxAtuLfxKiAT6cDoYZXuMurTPcVVyqnj+kfCg/HfV+kLqpA/kKcdd/sxW7anXuw56FWszqbD/eDKgi6byFyMzWd1pP7aAfBA3VATDZyGmmod0Sk318JwABkGkzkmYa5dsqFCfO5DHvqMRYpGOV9biIprGAsiIHyzdCZNNzbUTFw==|920 }//JjDioPejuaOpTRsPMKfohh9xXiH+042kb3Nl8DgWQJ7sXk3puuugk4gtcaSF//wVnRmPb2prDs00NYDUJcg3CrsJFOUTS1ajDsbqTu0z/MD9ALLSqtl1259/ewSyWnMP0r9f0PIPjIvZY73kwp8ZsheN60ESfLXvi5SGeZYnAJucqKn+rjSZWZ5wt7gbMOZ7cGYra4YO34x1cybCQMavqcVL68v2ItzPPweqP7VDBWGGmtQo0lYxL1Q/pp4sSiR6wfh+6k2EuOjUJl0o2Cv/cY3w0BG05xPPY9fE8hlGo8/zJx3F6aJURNxXVcOsSw2RE3MVOkz5cA/LQuswltMk/vgSHGLFKrlWu+dZXrlAlAyMsGMBcIGD3wyWXGxqWF8Nv4qwesI36+aLXdcqz++6Sd17CdNgbLsEFCR1jeCd9TCjR+FjPCFGeZNB+8KbCMaAtys/tztDYZ7IdW8Jfrtng14jURKdaja/T5AVVdkytwSm76EHUh3eAFB/d0P0y19dx4zJte6rRwoz5wpgOdcWdpwpOF1DPAnjVB8XznnX6hvKRNXXOYJK1lVuEs07H2zEPE+wmDVzFCePmlPCGjWsY/nhPQPG8rIs5DwZ78VeHXiUefSIDF5UqEZ+VpdVUQWTjpc2jlJNzJRle9tXNmwF0Fl3jzDRt5I1b8eMsw7zmbA0fWZCKDWG/11Z4zsVWFPGo9sXCv85y3a2gzVlgIOWr7pLSS4pqf+PXz+GdNCZZYiTx+zWlRB3MBzvsO8q2G0xZOC8tVe+cKaft+hOiB9g7+84UoZPbphomHzfWa6//NoRp+AG7zP3lkuIXsvx7e9ggxYAkjUu9Tn6GfgwKqnvdVDTJIWkWZm7pJ8gGblEwl9q/6fWvMUryfvhMaswYeG9QIin/PbKhI4Fx7eaL+dU7Q==|920

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -4,11 +4,5 @@
"RowCount": 21, "RowCount": 21,
"Formulas": { "Formulas": {
"1,3": "TODAY()" "1,3": "TODAY()"
}, }
"CustomNames": [
{
"Name": "财务中心子页面",
"Formula": "工时总览!$B$4"
}
]
} }

View File

@@ -32,21 +32,26 @@
} }
}, },
"6": { "6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 24.0
}
},
"9": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0 "DesignLengthInPixel": 32.0
} }
}, },
"7": { "10": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 35.0 "DesignLengthInPixel": 35.0
} }
}, },
"8": { "11": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0 "DesignLengthInPixel": 32.0
} }
}, },
"9": { "12": {
"GridRowColumnDefinition": { "GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0, "DesignLengthInPixel": 32.0,
"IsHidden": true "IsHidden": true
@@ -54,10 +59,10 @@
} }
}, },
"InLogicalVisibleIndexes": [ "InLogicalVisibleIndexes": [
9 12
], ],
"Count": 10, "Count": 13,
"DefaultSize": 32.0 "DefaultSize": 35.0
}, },
"Cols": { "Cols": {
"RowColumnAttachedInfos": { "RowColumnAttachedInfos": {
@@ -118,9 +123,10 @@
"Values": { "Values": {
"1,1": "版本标识", "1,1": "版本标识",
"4,1": "绑定已有Gitee仓库", "4,1": "绑定已有Gitee仓库",
"4,11": "更多仓库", "4,11": "选择仓库",
"7,1": "关闭", "7,1": "订阅",
"7,9": "保存" "10,1": "关闭",
"10,9": "保存"
}, },
"AttachInfos": { "AttachInfos": {
"2,1": { "2,1": {
@@ -162,21 +168,82 @@
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
"PageName": "选择Git仓库", "ClosePopupCallbackCommand": {
"PassValues": [ "Commands": [
{ {
"Source": { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "ConditionAndCommandPairList": [
"SerializeProperty": "=任务版本详情!B6" {
}, "Condition": {
"TargetCell": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SerializeProperty": "=选择Git仓库!选择仓库ID" "SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=任务版本详情!是否为确定"
}
]
},
"value": "1"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=仓库ID"
}
]
},
"value": "%Null%",
"compareType": 1
}
]
},
"CommandList": [
{
"$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon",
"TargetPageElement": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务版本详情!B6"
},
"TargetType": "ElementUI.SelectCellType, ElementUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e50995ee76bfe560",
"MethodName": "ReloadBindingItems"
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务版本详情!B6"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务版本详情!仓库ID"
}
}
]
}
],
"ID": "436354e6-f37b-465f-bd1b-c730c021ddea"
}
]
} }
],
"ParamProperties": {
"IsOK": "是否为确定",
"仓库ID": "仓库ID"
} }
] },
"PageName": "选择Git仓库"
} }
], ],
"Text": "更多仓库", "Text": "选择仓库",
"ClickMode": 1, "ClickMode": 1,
"TemplateKey": "_RS_Main" "TemplateKey": "_RS_Main"
} }
@@ -185,11 +252,10 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目版本", "TableName": "项目版本",
"ColumnName": "仓库ID", "ColumnName": "仓库ID",
"GUID": "9991c901-3f0d-4daa-847a-fd4e6380f4a8" "GUID": "6b04f158-bb63-40f4-9d68-84d4326cab57"
}, },
"CellType": { "CellType": {
"$type": "ElementUI.SelectCellType, ElementUI", "$type": "ElementUI.SelectCellType, ElementUI",
"CommandList": [],
"UIPermissions": [ "UIPermissions": [
{ {
"Scope": 2, "Scope": 2,
@@ -261,7 +327,31 @@
"noMatchText": "无匹配数据" "noMatchText": "无匹配数据"
} }
}, },
"7,1": { "7,12": {
"CellType": {
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
"ToolTip": "勾选后系统可接收来自Gitee的通知",
"Size": 14,
"ImagePath": "提示.svg",
"UseCellForeColor": true
}
},
"8,1": {
"BindingInfo": {
"TableName": "项目版本",
"ColumnName": "Git订阅",
"GUID": "b01c4660-cd3b-41fc-b7be-4bd36eea96a8"
},
"CellType": {
"$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon",
"Caption": " 订阅GITEE通知",
"Style": 1
},
"RulesGuidList": [
"d8a27f0e-467f-4073-8e4b-2d06edd8fd9f"
]
},
"10,1": {
"CellType": { "CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon", "$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [ "CommandList": [
@@ -273,7 +363,7 @@
"TemplateKey": "_RS_Information3" "TemplateKey": "_RS_Information3"
} }
}, },
"7,9": { "10,9": {
"CellType": { "CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon", "$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [ "CommandList": [
@@ -301,7 +391,7 @@
"ShowConfirm": false "ShowConfirm": false
} }
], ],
"ID": "94bacb06-58e1-42e6-84c4-600ca7c64408" "ID": "3e3fd88f-15f9-4a81-893d-9f8097a2c34f"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -311,7 +401,76 @@
"ShowConfirm": false "ShowConfirm": false
} }
], ],
"ID": "740ddf25-d72b-4104-955f-4b9fcc118f66" "ID": "2868f5af-eae8-40f0-a66c-1da85800c086"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon",
"tableData": {
"TableName": "项目版本",
"ColumnName": "仓库ID",
"GUID": "630c924a-ca23-4406-b82e-62c93342476b",
"RelationBinding": {
"RelatedTable": "Git仓库表",
"RelatedColumn": "仓库ID",
"DisplayColumn": "订阅成功"
}
}
},
"value": "1",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户",
"ParameterValue": "%CurrentUser%",
"ID": "6730aa3d85934aff97c67b0573f07959"
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "创建一个仓库WebHook",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "仓库ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务版本详情!B6"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务版本详情!当前用户"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "回调地址"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RequestAsync": true,
"RefreshAfterFinish": true,
"CheckDataValidation": true
}
],
"ID": "4e5cd85c-3505-4ec2-8d19-6f418a3f7066"
} }
] ]
}, },
@@ -331,12 +490,24 @@
"IconSize": 14.0 "IconSize": 14.0
} }
}, },
"9,1": { "12,1": {
"BindingInfo": { "BindingInfo": {
"TableName": "项目版本", "TableName": "项目版本",
"ColumnName": "项目ID", "ColumnName": "项目ID",
"GUID": "86c17174-92f5-4f03-a856-e90623674b17" "GUID": "86c17174-92f5-4f03-a856-e90623674b17"
} }
},
"12,4": {
"BindingInfo": {
"TableName": "项目版本",
"ColumnName": "仓库ID",
"GUID": "bbd5cda7-3f40-4614-8ea6-287af51ddeaf",
"RelationBinding": {
"RelatedTable": "Git仓库表",
"RelatedColumn": "仓库ID",
"DisplayColumn": "订阅成功"
}
}
} }
}, },
"StyleDatas": { "StyleDatas": {
@@ -351,13 +522,27 @@
"Foreground": 1, "Foreground": 1,
"HorizontalAlignment": 2, "HorizontalAlignment": 2,
"Underline": false "Underline": false
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 3
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 4,
"Formatter": 5
} }
], ],
"Types": { "Types": {
"Strs": [ "Strs": [
"Body", "Body",
"Accent 1 0", "Accent 1 0",
"Right" "Right",
"Text 1 50",
"black",
"General"
] ]
}, },
"CellStyles": { "CellStyles": {
@@ -373,11 +558,36 @@
"4,10": 0, "4,10": 0,
"4,11": 1, "4,11": 1,
"5,1": 0, "5,1": 0,
"6,1": 0,
"6,2": 0,
"6,3": 0,
"6,4": 0,
"6,5": 0,
"6,6": 0,
"6,7": 0,
"6,8": 0,
"6,9": 0,
"6,10": 0,
"6,11": 0,
"6,12": 0,
"7,1": 0, "7,1": 0,
"7,2": 0, "7,2": 0,
"7,3": 0, "7,3": 0,
"7,4": 0, "7,4": 0,
"7,9": 0 "7,5": 0,
"7,6": 0,
"7,7": 0,
"7,8": 0,
"7,9": 0,
"7,10": 0,
"7,11": 0,
"7,12": 2,
"8,1": 3,
"10,1": 0,
"10,2": 0,
"10,3": 0,
"10,4": 0,
"10,9": 0
}, },
"SheetStyle": { "SheetStyle": {
"FontFamily": 0, "FontFamily": 0,
@@ -386,11 +596,13 @@
}, },
"Spans": [ "Spans": [
"2,1,1,12", "2,1,1,12",
"9,1,1,3",
"7,9,1,4",
"7,1,1,4",
"4,11,1,2", "4,11,1,2",
"5,1,1,12" "10,1,1,4",
"10,9,1,4",
"12,1,1,3",
"5,1,1,12",
"8,1,1,12",
"12,4,1,3"
], ],
"PageInfo": { "PageInfo": {
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
@@ -410,7 +622,22 @@
}, },
"RowBreakLines": [], "RowBreakLines": [],
"RepeatRangeSettings": [], "RepeatRangeSettings": [],
"RelatedDataTableName": "项目版本" "RelatedDataTableName": "项目版本",
"ConditionFormatRulesCollection": {
"Rules": [
{
"$type": "Forguncy.ConditionFormat.CellValueRule, ServerDesignerCommon",
"Operator": 3,
"Value1": "=1",
"GUID": "d8a27f0e-467f-4073-8e4b-2d06edd8fd9f",
"StyleInfo": {
"Foreground": "Accent 2 0",
"Underline": null,
"Strikethrough": null
}
}
]
}
}, },
"PrintInfo": { "PrintInfo": {
"PaperSize": {}, "PaperSize": {},
@@ -419,7 +646,11 @@
"CustomNames": [ "CustomNames": [
{ {
"Name": "项目ID", "Name": "项目ID",
"Formula": "任务版本详情!$B$10" "Formula": "任务版本详情!$B$13"
},
{
"Name": "仓库是否订阅",
"Formula": "任务版本详情!$E$13"
} }
] ]
}//iF7NUnONJVvTaVf+6+diwChfTfbX2EpP8d2QPLoXiQPXO1AHiwjNVPJH1ts+kolbD4nvrNdiLzNBkOHa2pNCQHCU1r6qfcjYwQJJpHY7tQRiMan2a8QA4wMoI2v7gOGoSbg1beWm3JljJCNNta32X0hvGoIC74mnbuoce9HRQcOuayqRwm8M50Wc5QflY2nDl0eflx1F6jfPDhRusz2+umfugu5Iy9t+yJ7y4wFOmpsMEC3JvSHoBKq78bcJlxR5tXabYq00htyvNjFeOWZK2ujNquwTYCBtnkVSv/XK4T26rW7tzqCadaq/jjMnwLfzw7zE+XaXcMj1WiOMusrKsBexfjXR8nAJxo8Mn7G/Uiuvzgm9xjjJZutSmBEFp217xzh30eLecW4VqmFIupvLIIaI2U36VRl68b5PjmIaicEIQtysz8lugS4+HtFben7NiNZ8+/cr3o6f8+0W20Tq4t40kKOEPIEoFtxYoZuJaxInItxiNLbkUX5w67COen3dZ34nH76PeX15eWHopmjacAwhev69106cSEbr/PBRAQVvCBL9zpDQTDGtzNjx4FHLSG+KxpMBheZ8zI53jDapN0E2OVJV0/nDAHSWQz2NpgCuko44DGuM03F2urfgpX8zdbfnEUixuBUiLTHE3cSgBKovO0w2dZNdgqZhGtMjFCF3VHmKK+73Fgk38HIfEWSDBk3NvZS8tGaSSsMei26fOZUTu/eSbE0CqAvUCk/RBDiw3yTZ8WDpK7gog05kD0NmtRIIodVqLumjuNDNsEp93tQ1zyvkVF84tRkIfXiTW7L2tXWFsH4sTRXs8xxEVu1IJBiIZZ337tlpJLkvAfzgFd9zOSM6a6GkrzrpmFbonlre4mHtOXyeJjv6exj/OKBaviua0txL+ewpB3ftPhDODw==|920 }//Q1E6dQFN1YRKHKf6JcJMIXEAzdGgZUaLtHQK85rPjXHOOygA0QPFTBWVjwXZLEwEVJxudVwnQhVp0TNp/DhQ85YHD152lYRB/XAUedXze/zM8wP6y5B3ilxVve9l30Wt9GRutQsra+mrIPGb2Dv1qKNlPuDZPr4kc0GfvFlU53Ur8qk582c88ZdiAmdoqsQmtnUC9Vp9TVFv3Ck6wLDRbgBuZ73fMl976Ae2k5FtgNNmawuv/CbqGdE5dYqwXCDX0aNS0oCmZmVromELfNvqMOkmamaPIqdGI1i5yaqfYQo8o/YIA3XuHem9/4Q+5/TFWHQlBCFGAhhHX+qaXrhicwNJ6YImYN8MIIbZVsxT6T6YRh+aMqN5evCkEk5iAt0RXm/gj2cGldfGnDmsYjGc47jL1mtErOCIAxowLonhCNlsidZ7tffDcOKQ6xfe6FFmgDmwIr4ao+0zR4D/fp08kheqJlyDcjTT+xIhzVLvg3h70MpXuSojxIyuf1dOrHQAKQnAhdQTOGcOtFB+l81GVuKUjT2BcMaTw+h5DzUVbJ5NQtwP2ULHcgs/Y3U2t7aJwVVmC+Ud+3v3eTGmCvJVZCMFiNLJUVFcLy2w/izuKt/gfegUAYeSOYxkF/KDkey+5DkdNVBmIAjMlfJ01HKkDzi3p6MIqGsstpsBFzAr1707p1A2L/Ho152LIyAVUGl6JZmYSXdHrf+VX2ZC0grdPnuxNF7NC6vkiqTFqGt0l7OnIXNBU0LrETWcfDQppAbtbr8DtF8RO8xR0srMrnhMcVnHbTCmAqW4OaUjU6yPrgh/T9xK2onSH00PjTz/0yB09SQY2gRyUeZwIKcSNKBvu/j8vJpzRKIKzECN7eMWcKk3UWFpM+Tej5I9u01271zACLKJMu7sTG5K0lJZgZkivA==|920

View File

@@ -1,11 +1,15 @@
{ {
"PageType": 0, "PageType": 0,
"ColumnCount": 14, "ColumnCount": 14,
"RowCount": 10, "RowCount": 13,
"CustomNames": [ "CustomNames": [
{ {
"Name": "项目ID", "Name": "项目ID",
"Formula": "任务版本详情!$B$10" "Formula": "任务版本详情!$B$13"
},
{
"Name": "仓库是否订阅",
"Formula": "任务版本详情!$E$13"
} }
] ]
} }

View File

@@ -644,7 +644,7 @@
} }
} }
], ],
"ID": "86482f48-f333-4edc-9e0d-a18903d9106d" "ID": "e0759d63-76b5-43ae-ab98-e65f1dd61934"
} }
] ]
} }
@@ -747,7 +747,7 @@
} }
} }
], ],
"ID": "936ffb54-a17c-488e-b263-410efa6cfd9a" "ID": "d4d10bd0-1167-49cf-8840-a5adda5146db"
} }
] ]
} }
@@ -884,4 +884,4 @@
"Formula": "项目版本管理!$B$6" "Formula": "项目版本管理!$B$6"
} }
] ]
}//GOG5FwS1Ynjoub6GdGXP9bQl5nfYDz+1zp2fOtu1gxupVwaZVsBTQajfHXo9CFIJ9r/4eOPXW9Sja2t6FpDAguqkALhANdKbjuG9OA4hVab99WtbVBdIARBGrllNYWw7wWyzSMd/ThBVZCvPhZ7kIrthoMo8cwcJ4Iako8YrjFj1OLycR5+eIs7kEYXVrie2nayNegTV4R0iDOcW2zDfEsxaXGi5r7SCqUu6RtXJoto/kk3uAH8o1zqYs2bTILeL/vvcMwGTMkTfzw5IQNVoAs/9fyNoB3IzzOs13xIdM9pUaCCOwh73sZzP6vUwubwGDsV9UcrhR6smaq38eAdsCtI/kmTN9wdwG9wl9hJMYV2YT1Zq9Tl1V7jozdJ3fFy64ucHl4EShMBAhJPP6qOzZvmAWNgJnViYr3UQ+pfBBLiYlNt5fAWRMEyUYon/CUpkQwJTjwLjK9LYVRidvCV48phu6B+ghIinqPKP4EWil3a7EzLgHB8+14Hz6glRdWsmuIxnn4uVeQrDoyBu0uG0lhc0hO7CHfcurZY+lGDF1qZeAEdp5btcgtv6a0HNQ1+6C/gbl/GYd9ncLhNcubNN00fkZvqnVOKwlWw4I7bwQJ/Vr8grm+gCvwG+YKYmHjuzZT9K2fzQUQVj+qR7NQHOyVSG7l6uDOvvGMoz+gjTHzdLPyyHCyvL1Ksg/rsS6SuDTGlpRR5v2k7mhuPVCd43tQ2U8vKnk7qsxm38axeIWhUIf/wz6VTaIbChsKofYGwfVsOGRGygjubn4TplOHcw+oLWq2sQSlJucFLM+14ClOYhzxAYVGRKoTFjRy2zyJhxWFM7rcUzxXvzhDtQQ3odd/xNRsX0737I+3czWgLKbUIBCBYz1pqXEEar0iw/ib3YCRxxpNJcNwNXNWCLFStv5g==|920 }//cgk/NLmvO1Xw4aFm+qK2dSwMzR0NVJU4KsWvEJFQRztHlGf340UQCi7C9J3xHT8VuX3xGpjAP3Xeyr/fkBf8zQcANr9IN2EIY2ezmlVkbcrQKjPRKg/dAmY/DWhbh70N0UiFs/TCmhNxMKkvMd/rjuifQnzlaDD/08K7+AwQ0E34CgY1quHLV1DTLasmLZBKsBmdJACezTkabKkyn2Hds19t5cvIHN2MtI4KSn4l31MseM/JH3gYeNaDGoRy/+BliwRU/J/X55xqDG2jbwJsaUg1xgk1GFJeW0shenfwPLlqAyfNKTF+5wrZxgWvodQIhZi4amyD5rndw5o/7dV5KIXuryb3Jqgi15Sn/mVr4Po9lwMLN1PCzBXcKnFGVhSiHuffQzZP64AA8B7qQ4ZDEYxGOFSDA8BgYUr5NszVj9+UozgMJFNh0nSQOHQ+1r/eGfC3B05w52RR3A1endE+RbElSFTLEZSM9fzW3mfSFXv8NV3uwj3qHORflb6tiY+GXuZkZw6k+umH+4bkuEeHg6M5+nr0/UbIOO1goFqEoZlT2r7E/u3IRY1jnzTwMpVbyaUo2y8nYbXWvyL68XTmM7MZU7RaqYZbMSHRlrbtRJ/I1n2nJKSXK1oQogJNA943GSX64z3g/m+QRcL+tErYwgK18EB5zHfZj6hBvhrg9s9ZIeMGFK3AEoboIgqDpSKk1gAsUbIlwPmVJ5cywiM2lmwcneVt18zZvvJ0p6rEH8WdEDM/b7WeWAYpLEBU90wi5aPoSa5eOZKqoSyi3v5ajMWgXy8DFsv1GegULDZfsLF9mdYQvZo9HXt2svMgR8eBDmk6Zt/lyEytRTG6i4Z1t5sTL+n3GfuOtkCx2xV+m0kFeNE6yxAOhjiJpeojEe014AXvacuNy04q5TocKBHFyQ==|920

View File

@@ -344,7 +344,7 @@
] ]
} }
], ],
"ID": "b5f12fb6-d65c-4198-9daa-1afb57b8595d" "ID": "e769eef4-75ce-4b34-944e-8b1ca2c4d134"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -364,7 +364,7 @@
] ]
} }
], ],
"ID": "367b7b36-3cf7-463b-9411-3bcb6438fee7" "ID": "897e1d5c-15cd-4c53-b8ba-82a41ab0e942"
} }
] ]
} }
@@ -614,7 +614,7 @@
"Millisecond": "1000" "Millisecond": "1000"
} }
], ],
"ID": "98eec3bc-c494-4456-bbea-822dff04e57c" "ID": "ce04fc32-c8c8-4690-acb0-26ab537cbc6d"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -634,7 +634,7 @@
] ]
} }
], ],
"ID": "eff74857-495a-433b-a4e5-7e9cbf890790" "ID": "88cc11c5-fa8c-401d-86c1-795fa0444c12"
} }
] ]
}, },
@@ -780,7 +780,7 @@
"CheckDataValidation": false "CheckDataValidation": false
} }
], ],
"ID": "5ce8e2e4-763e-464f-a2f4-0c87da24cd10" "ID": "6274134f-3de2-470f-8733-7695a2da5c56"
} }
] ]
}, },
@@ -970,4 +970,4 @@
"Formula": "首页!$B$2" "Formula": "首页!$B$2"
} }
] ]
}//MGejl9vVMbw/4F4yL6lcdItBGXPJKUg4jy96SfRDwv8ijH2uzemJT/cgL5Fj9s3Hm54jNSbqCA+VzJDRh8ohqbpO1gjWGrCua2deCxYT+q5z8/Bsc88mSlBVt4WDVgOenjxAqoz1g9fonqDaytpd8z8bk1Aa/nK8P9YGtyZnHBQWiSrlp3Bwu4oS5YMzMZl2I6+oe7v6iVhao+7gtaqE2ETcvMgvw+dN2OkM19wnrquDoXIUw7q3nCMizdBnj7JvBPb3O1SQruEPzIjuiWL5P07VbDY1sqtqUG1mzz7LAubW/yigsBrRX65lHIyrFZDRAEfWnLwf8FawvKA5spnULY42OXYoh7J07fsFZ/2QPV4Rd0bLUXXkeyeLUMoVtazpO/Xe9d6deIbw5RLubbsGrO1HCBCSCdiX+GC9HyFQk7s3bPoeKP7jLXg5YFwlW4VSrYQsf4f6ry0GaS1rJu/OqsD7uptuq15VnRXpjCLHOA4YMvi/NjvVN3Ldvs7cSpmCqUb8PLut50JhQd+kdLMsdQvY3Ielru4ya+8RsnXEKPzpIeHhIUGOSaCxXimXm1CtjWs7kCf2PsxUZ/8QStqZMqBvRRO14vPjgjFyKm6tnze0v1CDGUGAPC9y2P2/H4jqtSLqruYO86py0Ak5IeIzI2QxtSXHcDhU3f1PS8juEblx6ZRW484cSyEoj3g8WaqTqXPYlXgYzZ9HcGdTAiH63wDTSSkH/AYMuQ8TylBRY4fbTOULoA6jfnjX5ViCc3BeJLn5p+E6weCTrcS8n7Bt4+HyEJHK7ZdGf7TI993f6m0afXSB0W8J5IBLcerD+DLD9HJVgROUFPN2Ad93bgpH6aqsg2sSwRuf2CIGiIEwIxvNHMRGY0AG/8QYH7LMeE03tW3GBBGTfY+5raw9C/0/gQ==|920 }//VeyUEpQrKTseGdTkllxOHv1Lw0cbh9tfUKpC3EPuF6rk/koMQw+tw+eDzLWH/QH9owpr4ZLk2XBTA1EPKupIw6wvkTosciBLS+Anb4nQWBa7rq8Ut71AC86XT6jCs/DZtEVQExURLgXC3/m2f1On0LM4mIZOsNLECECfM4RWE9AyPO+Di7UdZ6yEe7wh8QKC/ritTkkmnitiLA8PeLYj0YT6jVpLLUFkG5qB1n3u00XRLPrEvsTXSNUXg/rfN2n+G4MIoKtAE/LCODY/SfHYJ9HyTq9qqTcwWG1KEmG8oa3bJQSUS1/R0PHjRyujvq2IvzPdAO0wvAdvUnIqgOPrvpBSgrw4PaAb6uGQxXItanYSRps0pl4s9j7iX+H2Vtu56bNF9OYftYs3uOW48eTbP7xumtzyALvuz9dIJC98tUTHirygTwdPFOuTTANLWtQV7MnrGccnC+ltp8oK2zYN9FNSFs77OFbqe7F5d3uk8eIeZf0vhtoVggGbYxyGFvCt5R4ukNyueAhoFZFiiL7j69tQKyUlHBUiHVDvyXz6zR+CAtGW8kYYxCgjOrwvKLJUb2m0zpHBTcuL5A/bIUNQXvTVh8/tckYhuWjH5ydtszOjeqiSnsFgiZY3knLbSCbvIyPQbMbbMGSOCG1CjyTgqZNNa/6FSrC3qVw/clni+OzvU9d04iHwZYJFNADaTD+4jbj78pQ9zeUhtHdowwr6vH4/A1SSjIkNdSxI45HWn6v2fcPp9ShD8Iz5IUjU1pchsJOu4PDL8FQFQ91b2efRWzO13x/N/LL5VL94H6+zJnHHps/a+nWGwceDq3ZWb/wDGAEpJsDNqO6/mNqw/7UX9gXIaIxFqZs6/8X2ARZNsvJipcO1/zMNjrdv+khHdX+kAOxnl2QvZlGvQpq30nR6vA==|920

Binary file not shown.

View File

@@ -1,14 +1,14 @@
[ [
{ {
"Name": "格友服务器", "Name": "格友服务器",
"ApplicationUrl": "https://1.117.103.252/pms", "ApplicationUrl": "https://develop.gridfriend.cn/sims",
"Remark": "腾讯云服务器", "Remark": "腾讯云服务器",
"PublishSettings": { "PublishSettings": {
"IsPrivateServer": true, "IsPrivateServer": true,
"ServerName": "1.117.103.252", "ServerName": "develop.gridfriend.cn",
"UserName": "Administrator", "UserName": "Administrator",
"SitePort": 443, "SitePort": 443,
"AppName": "pms", "AppName": "sims",
"AppStartPage": "首页", "AppStartPage": "首页",
"TakeServeronline": true, "TakeServeronline": true,
"Https": true, "Https": true,

View File

@@ -0,0 +1,77 @@
{
"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": "自增版本号成功"
}
]
}

View File

@@ -73,54 +73,67 @@
"Disabled": true "Disabled": true
}, },
{ {
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"TableName": "Git_事件记录", "LoopInfo": {
"UpdateType": "add", "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"ShowConfirm": false, "LoopCount": {
"UpdateBindingValues": [ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
{ "SerializeProperty": "=钩子数据.commits"
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "事件名称",
"GUID": "fccc431d-e253-40c4-8afa-1b29b8d0efa2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钩子数据.hook_name"
}
}, },
"LoopItemParamName": "Item"
},
"CommandList": [
{ {
"BindingInfo": { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "Git_事件记录", "TableName": "Git_事件记录",
"ColumnName": "hook_id", "UpdateType": "add",
"GUID": "ffc4bb74-08a8-4e4e-95a2-b4e9d3d7fbcf" "ShowConfirm": false,
}, "UpdateBindingValues": [
"Value": { {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "BindingInfo": {
"SerializeProperty": "=钩子数据.hook_id" "TableName": "Git_事件记录",
} "ColumnName": "事件名称",
}, "GUID": "b8714ad4-5742-4115-9873-9fb493234164"
{ },
"BindingInfo": { "Value": {
"TableName": "Git_事件记录", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"ColumnName": "提交人", "SerializeProperty": "=钩子数据.hook_name"
"GUID": "d55ad806-94ce-4bc7-aa3a-0f92603c0ea7" }
}, },
"Value": { {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "BindingInfo": {
"SerializeProperty": "=钩子数据.commits.author.name" "TableName": "Git_事件记录",
} "ColumnName": "hook_id",
}, "GUID": "95971d9c-d698-4047-9b88-f9e44fb21db9"
{ },
"BindingInfo": { "Value": {
"TableName": "Git_事件记录", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"ColumnName": "事件内容", "SerializeProperty": "=钩子数据.hook_id"
"GUID": "db739f7c-5d74-4a80-80f8-e0e541b13569" }
}, },
"Value": { {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "BindingInfo": {
"SerializeProperty": "=钩子数据.commits.message" "TableName": "Git_事件记录",
} "ColumnName": "提交人",
"GUID": "3924cbf8-fb60-4a3d-8078-9ef7bbfb330e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.author.name"
}
},
{
"BindingInfo": {
"TableName": "Git_事件记录",
"ColumnName": "事件内容",
"GUID": "87c9243c-b42f-4266-bd23-52c6abe2ab90"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.message"
}
}
]
} }
] ]
} }

View File

@@ -0,0 +1,354 @@
{
"Name": "列出仓库的WebHooks",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": [
{
"Name": "仓库ID",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "33487312"
},
{
"Name": "用户名",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "Administrator"
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户",
"TableValue": {
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "ba26ad6b-e153-4018-acbf-19fd62234227",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT用户名",
"GUID": "68ee86fa-88ce-4787-9175-7fb4b1f4639f"
},
"ColumnName": "GIT用户名"
},
{
"GUID": "88d30da5-84dc-4d11-b8ef-f8f545176b56",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT密码",
"GUID": "4ca2adb0-be71-4cff-a7f0-0f319f33fc35"
},
"ColumnName": "GIT密码"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "e3ee2272-9867-43eb-97ee-199cb94862de"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "46e29f04b4fd462f8586231d02327d70"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "仓库",
"TableValue": {
"TableName": "Git仓库表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "eab47598-bcd0-4b61-ab21-f4499617214f",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库路径名",
"GUID": "2c41e2fb-0784-4414-a2f6-e7bf48e1a825"
},
"ColumnName": "仓库路径名"
},
{
"GUID": "72c9972f-e241-4bc7-8414-58a9ecdcd638",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "空间路径名",
"GUID": "a4dc7e40-113c-4634-a254-bd3d364169e2"
},
"ColumnName": "空间路径名"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "7aa0116e-f6a8-4a54-9dc1-10755107fdf9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "a2fa9d23eaeb4e18ba0abc7c6ba18b88"
},
{
"$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.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "请求令牌",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "强制刷新",
"Value": "0"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "最新令牌",
"ResultTo": {
"SerializeProperty": "TOKEN"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$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": "=code"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/hooks\""
},
"ID": "fbb123be017a4289846192ec2842aebb"
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
},
{
"Name": "page",
"DataItemType": 0,
"Data": 1
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": 100
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"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": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "完成",
"CustomReturns": [
{
"ReturnPropertyName": "钩子列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result"
}
},
{
"ReturnPropertyName": "ACCESS_TOKEN",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
},
"SampleJson": "{\"message\":\"\"}",
"ToParameter": "错误信息"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=错误信息.message"
},
"CustomReturns": [
{
"ReturnPropertyName": "钩子列表"
},
{
"ReturnPropertyName": "ACCESS_TOKEN",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
}
]
}
]
}
}
],
"ID": "f3b11adb-460b-462a-a407-eb24c1edf879"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
},
"CustomReturns": [
{
"ReturnPropertyName": "钩子列表"
},
{
"ReturnPropertyName": "ACCESS_TOKEN"
}
]
}
],
"ID": "5151823f-c28b-4635-a478-2b8d6a34cc97"
}
]
}
],
"ID": "0fe2bd70-2110-4273-a51b-c8cc82e24dff"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "仓库不存在,请先同步仓库到系统中",
"CustomReturns": [
{
"ReturnPropertyName": "钩子列表"
},
{
"ReturnPropertyName": "ACCESS_TOKEN"
}
]
}
],
"ID": "76ade898-cb5c-498d-a048-1ce527c4ccdc"
}
]
}
],
"ReturnProperties": [
{
"Name": "钩子列表"
},
{
"Name": "ACCESS_TOKEN"
}
]
}

View File

@@ -0,0 +1,288 @@
{
"Name": "列出授权用户所有的Namespace",
"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"
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "请求令牌",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "强制刷新",
"Value": "0"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "最新令牌",
"ResultTo": {
"SerializeProperty": "ACCESS_TOKEN"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$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": "=code"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": "https://gitee.com/api/v5/user/namespaces",
"ID": "e09586acb7f74d1db8d88b8f48c345c4"
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ACCESS_TOKEN"
}
},
{
"Name": "mode",
"DataItemType": 0,
"Data": "all"
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"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": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"OutParamaterName": "企业列表"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "类型",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(ISBLANK(Item.type),\"个人\",SWITCH(Item.type,\"Enterprise\",\"企业\",\"Group\",\"组织\",\"个人\"))"
},
"ID": "a3da1376a2bf434fb27a08ef4c99d602"
},
{
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": [
{
"Name": "名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.name&\"(\"&类型&\")\""
}
},
{
"Name": "路径",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.path"
}
}
],
"OutParamaterName": "当前企业"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=企业列表"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前企业"
},
"OutParamaterName": "企业列表"
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "完成",
"CustomReturns": [
{
"ReturnPropertyName": "企业列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=企业列表"
}
},
{
"ReturnPropertyName": "ACCESS_TOKEN",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ACCESS_TOKEN"
}
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
},
"SampleJson": "{\"message\":\"\"}",
"ToParameter": "错误信息"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=错误信息.message"
},
"CustomReturns": [
{
"ReturnPropertyName": "企业列表"
},
{
"ReturnPropertyName": "ACCESS_TOKEN",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
}
]
}
]
}
}
],
"ID": "40a76140-62e2-473a-b500-798654e3beb8"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
},
"CustomReturns": [
{
"ReturnPropertyName": "企业列表"
},
{
"ReturnPropertyName": "ACCESS_TOKEN"
}
]
}
],
"ID": "309a88e0-a443-4d5e-82f1-506ed8887c9d"
}
]
}
],
"ReturnProperties": [
{
"Name": "企业列表"
},
{
"Name": "ACCESS_TOKEN"
}
]
}

View File

@@ -3,7 +3,23 @@
"Enabled": true, "Enabled": true,
"Triggers": [ "Triggers": [
{ {
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon", "$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": [ "Parameters": [
{ {
"Name": "仓库ID", "Name": "仓库ID",
@@ -18,6 +34,10 @@
"IgnoreBlank": false "IgnoreBlank": false
}, },
"TestData": "Administrator" "TestData": "Administrator"
},
{
"Name": "回调地址",
"DataValidationInfo": {}
} }
], ],
"InvokeTriggerTestData": { "InvokeTriggerTestData": {
@@ -26,6 +46,15 @@
} }
], ],
"Commands": [ "Commands": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局_Gitee"
},
"SampleJson": "{\"client_id\":\"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\"client_secret\":\"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\",\"回调地址\":\"https://develop.gridfriend.cn/sims/ServerCommand/GitCallback\"}",
"ToParameter": "Gitee配置"
},
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户", "ParameterName": "当前用户",
@@ -34,7 +63,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "79da2071-159c-4a8d-8796-be57ae391a1f", "GUID": "c26e601c-dffb-46f1-be97-ce46d5deadcc",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "GIT用户名", "ColumnName": "GIT用户名",
@@ -43,7 +72,7 @@
"ColumnName": "GIT用户名" "ColumnName": "GIT用户名"
}, },
{ {
"GUID": "68731a57-db25-4f90-bd1f-35011ff221a7", "GUID": "b594d85c-3422-4cb3-a063-69e472c32537",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "GIT密码", "ColumnName": "GIT密码",
@@ -67,16 +96,68 @@
"NullFormulaValueQueryPolicy": 0, "NullFormulaValueQueryPolicy": 0,
"TopCount": "1" "TopCount": "1"
}, },
"ID": "4d5b1b1010f84c79946ac09278aa8d66" "ID": "ea6babeddf554a1eb8f46e195877e952"
}, },
{ {
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"JsonString": { "ParameterName": "仓库",
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "TableValue": {
"SerializeProperty": "=全局_Gitee" "TableName": "Git仓库表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "375548fd-8c18-4c87-9511-bdb646a7a88a",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库路径名",
"GUID": "2c41e2fb-0784-4414-a2f6-e7bf48e1a825"
},
"ColumnName": "仓库路径名"
},
{
"GUID": "4a543850-eab6-45df-9a9e-40fdac47d12c",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "空间路径名",
"GUID": "a4dc7e40-113c-4634-a254-bd3d364169e2"
},
"ColumnName": "空间路径名"
},
{
"GUID": "cd748bcf-8be5-49ee-9828-0d140beb2581",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "hook_url",
"GUID": "b34b70ae-08b3-4667-be01-afce405fb9bc"
},
"ColumnName": "hook_url"
},
{
"GUID": "3175ee74-7815-4217-b3b8-257b3cfbce93",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "订阅成功",
"GUID": "01bbed57-b961-4d6b-b4ee-dba6636960af"
},
"ColumnName": "绑定成功"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "7aa0116e-f6a8-4a54-9dc1-10755107fdf9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
}, },
"SampleJson": "{\r\n \"enterprise\": \"GridStudio\",\r\n \"client_id\": \"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\r\n \"client_secret\": \"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\"\r\n}", "ID": "c7607e00ea68441eb59a50ac39babf53"
"ToParameter": "Gitee"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -88,47 +169,13 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": { "ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Gitee.enterprise" "SerializeProperty": "=仓库"
} }
}, },
"value": "%Null%", "value": "%Null%",
"compareType": 1 "compareType": 1
}, },
"CommandList": [ "CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "仓库",
"TableValue": {
"TableName": "Git仓库表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "f86fee2d-71be-4386-986f-58efe124ddbd",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库路径名",
"GUID": "2c41e2fb-0784-4414-a2f6-e7bf48e1a825"
},
"ColumnName": "仓库路径名"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "7aa0116e-f6a8-4a54-9dc1-10755107fdf9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "18b47cd732ea4f5ca35425f3f67f2068"
},
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [ "ConditionAndCommandPairList": [
@@ -139,63 +186,56 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": { "ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库" "SerializeProperty": "=仓库.绑定成功"
} }
}, },
"value": "%Null%", "value": "1",
"compareType": 1 "compareType": 1
}, },
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ParameterName": "是否存在hook", "ServerCommandName": "列出仓库的WebHooks",
"TableValue": { "Parameters": [
"TableName": "Git_WebHook", {
"TableValueType": 1, "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"BindingInfos": [ "ParamName": "仓库ID",
{
"GUID": "a39b5b84-ec17-4474-a3f1-024ba1e931a3",
"BindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "hook_id",
"GUID": "a9ffabfc-9ef2-4051-bf27-4ac4bb9612a3"
},
"ColumnName": "hook_id"
},
{
"GUID": "07448f15-a30a-46e3-98f5-454569fd9b9f",
"BindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "url",
"GUID": "4ef09151-35ae-4d70-afa6-b779ea5dd6c9"
},
"ColumnName": "url"
},
{
"GUID": "56c3cff0-bec6-4060-8500-5184a071b6df",
"BindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "password",
"GUID": "5d84189e-bd75-4b4f-800d-a273ba9b1ef8"
},
"ColumnName": "password"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "仓库ID",
"GUID": "62db27c9-59da-493e-a58b-8fd48148a5ca"
},
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID" "SerializeProperty": "=仓库ID"
} }
}, },
"NullFormulaValueQueryPolicy": 0 {
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
}, },
"ID": "4d967288116a47b58360492b81f91672" "ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "钩子列表",
"ResultTo": {
"SerializeProperty": "钩子列表"
}
},
{
"ResultPropertyName": "ACCESS_TOKEN",
"ResultTo": {
"SerializeProperty": "ACCESS_TOKEN"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -207,46 +247,16 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": { "ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在hook" "SerializeProperty": "=code"
} }
}, },
"value": "%Null%" "value": "0"
}, },
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ServerCommandName": "请求令牌", "ParameterName": "查找钩子",
"Parameters": [ "ID": "6eff079d11144740b4fd5e2b0587ba6a"
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "强制刷新",
"Value": "0"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "最新令牌",
"ResultTo": {
"SerializeProperty": "TOKEN"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -258,10 +268,50 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": { "ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code" "SerializeProperty": "=钩子列表.Count"
} }
}, },
"value": "0" "value": "0",
"compareType": 2
},
"CommandList": [
{
"$type": "CollectionOperationKit.ServerSideArrayQuery, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钩子列表"
},
"Operation": 1,
"OperationParamaterPairs": [
{
"Name": "url",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库.hook_url"
}
}
],
"OutParamaterName": "查找钩子"
}
],
"ID": "46121cc4-33f5-4116-bde3-b6b15878703a"
}
]
},
{
"$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%"
}, },
"CommandList": [ "CommandList": [
{ {
@@ -269,204 +319,231 @@
"ParameterName": "url", "ParameterName": "url",
"ParameterValue": { "ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&Gitee.enterprise&\"/\"&仓库.仓库路径名&\"/hooks\"" "SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/hooks\""
}, },
"ID": "67f11c1341634f158b457443feca21de" "ID": "631a9d7da45544d598696dbdbc7e16e7"
}, },
{ {
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": { "TryCommandPart": {
"CommandList": [ "CommandList": [
{ {
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"PostData": { "CommandList": [
"DataItemType": 1, {
"Data": { "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", "PostData": {
"Data": [ "DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ACCESS_TOKEN"
}
},
{
"Name": "url",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(回调地址=\"\",Gitee配置.回调地址,回调地址)"
}
},
{
"Name": "encryption_type",
"DataItemType": 0,
"Data": 0
},
{
"Name": "password",
"DataItemType": 0,
"Data": 6158891
},
{
"Name": "push_events",
"DataItemType": 0,
"Data": true
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"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": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "Git仓库表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "421e0ce9-cf66-4deb-8fe6-f586f95a2d78"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
"UpdateBindingValues": [
{ {
"Name": "access_token", "BindingInfo": {
"DataItemType": 0, "TableName": "Git仓库表",
"Data": { "ColumnName": "钩子ID",
"GUID": "7474b27e-471f-45d3-9169-70ee07eb90fa"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN" "SerializeProperty": "=result.id"
} }
}, },
{ {
"Name": "url", "BindingInfo": {
"DataItemType": 0, "TableName": "Git仓库表",
"Data": "http://www.baidu.com" "ColumnName": "订阅成功",
}, "GUID": "c25cba9f-2eae-4238-8259-a6e2015e3900"
{ },
"Name": "encryption_type", "Value": "1"
"DataItemType": 0,
"Data": 0
},
{
"Name": "password",
"DataItemType": 0,
"Data": 6158891
},
{
"Name": "push_events",
"DataItemType": 0,
"Data": true
} }
] ]
} }
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"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": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "Git_WebHook",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "仓库ID",
"GUID": "73a25ccf-ba9a-4c0b-a999-5598caeab5dc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
{
"BindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "hook_id",
"GUID": "8b359d8c-e7f0-45bc-8336-270f0e318259"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.id"
}
},
{
"BindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "url",
"GUID": "e835645b-cdc8-4f0c-904c-8d126c038e01"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.url"
}
},
{
"BindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "password",
"GUID": "d13c52b9-870b-43bd-b96f-6dd187ee44b1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.password"
}
}
] ]
}, },
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0", "ErrorCode": "0",
"Message": "获取成功", "Message": "获取成功"
"CustomReturns": [
{
"ReturnPropertyName": "id",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.id"
}
},
{
"ReturnPropertyName": "url",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.url"
}
},
{
"ReturnPropertyName": "password",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.password"
}
}
]
} }
] ]
}, },
"CatchCommandPart": { "CatchCommandPart": {
"CommandList": [ "CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "Git仓库表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "421e0ce9-cf66-4deb-8fe6-f586f95a2d78"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "钩子ID",
"GUID": "acc607e0-06da-4c13-8831-596f16899736"
}
},
{
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "订阅成功",
"GUID": "c9954ca5-54b8-42c3-ba77-0a135764ea4b"
},
"Value": "0"
}
]
},
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
},
"SampleJson": "{\"message\":\"\"}",
"ToParameter": "错误信息"
},
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400", "ErrorCode": "400",
"Message": { "Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.message" "SerializeProperty": "=错误信息.message"
}, }
"CustomReturns": [
{
"ReturnPropertyName": "id"
},
{
"ReturnPropertyName": "url"
},
{
"ReturnPropertyName": "password"
}
]
} }
] ]
} }
} }
], ],
"ID": "031b5ddf-ab69-4f5c-b019-04dffd44a385" "ID": "63717820-b794-4564-b115-c085dbf33b17"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"ErrorCode": { "TableName": "Git仓库表",
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "ShowConfirm": false,
"SerializeProperty": "=code" "RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "仓库ID",
"GUID": "421e0ce9-cf66-4deb-8fe6-f586f95a2d78"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
}, },
"Message": { "UpdateBindingValues": [
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
},
"CustomReturns": [
{ {
"ReturnPropertyName": "id" "BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "钩子ID",
"GUID": "71681bd0-e7cb-4ba2-be9d-d8c902f124ae"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.id"
}
}, },
{ {
"ReturnPropertyName": "url" "BindingInfo": {
}, "TableName": "Git仓库表",
{ "ColumnName": "订阅成功",
"ReturnPropertyName": "password" "GUID": "ec4e7230-0fb9-4452-bc19-f6ef21642efb"
},
"Value": "1"
} }
] ]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "钩子已存在"
} }
], ],
"ID": "77757baf-64c1-43e5-b44c-acabb396fb97" "ID": "94b197b1-f2ea-400f-8cb3-b07705f1a8f9"
} }
] ]
} }
], ],
"ID": "5a9df93d-443d-4f18-95e4-beb69f5af6fb" "ID": "7f5dbfdf-16c7-4407-aa60-e35ffec13ded"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -475,99 +552,43 @@
"ErrorCode": "400", "ErrorCode": "400",
"Message": { "Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.message" "SerializeProperty": "=msg"
}, }
"CustomReturns": [
{
"ReturnPropertyName": "id",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在hook.hook_id"
}
},
{
"ReturnPropertyName": "url",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在hook.url"
}
},
{
"ReturnPropertyName": "password",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在hook.password"
}
}
]
} }
], ],
"ID": "d571148c-ddcf-45ee-a42e-3becef8b19de" "ID": "fe312141-6c75-4967-aaa6-83e5804aae3a"
} }
] ]
} }
], ],
"ID": "6f4b26b3-63d6-48cf-b7a7-5cc107627190" "ID": "2ed5a7ee-177e-4784-9f96-36bbce804e9c"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0", "ErrorCode": "0",
"Message": "仓库不存在,请先同步仓库到系统中", "Message": "仓库已绑定"
"CustomReturns": [
{
"ReturnPropertyName": "id"
},
{
"ReturnPropertyName": "url"
},
{
"ReturnPropertyName": "password"
}
]
} }
], ],
"ID": "02c8bfbc-5390-4d4a-a763-978ff5dee27a" "ID": "4ee789dc-4642-4d34-9a2e-bfcb3b6397b8"
} }
] ]
} }
], ],
"ID": "d190a6f3-a4b0-44e7-a1e5-977c67381fd8" "ID": "35977f7a-cd68-4e5e-b448-a7faff3ce155"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400", "ErrorCode": "400",
"Message": "请先配置全局Gitee企业路径名", "Message": "仓库不存在,请先同步仓库到系统中"
"CustomReturns": [
{
"ReturnPropertyName": "id"
},
{
"ReturnPropertyName": "url"
},
{
"ReturnPropertyName": "password"
}
]
} }
], ],
"ID": "dd54f4bf-7b36-4757-85e8-6260abdef1f8" "ID": "43bcf490-993d-41b1-a794-513a3b128633"
} }
] ]
} }
],
"ReturnProperties": [
{
"Name": "id"
},
{
"Name": "url"
},
{
"Name": "password"
}
] ]
} }

View File

@@ -6,21 +6,22 @@
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": [ "Parameters": [
{ {
"Name": "WebHookId", "Name": "仓库ID",
"DataValidationInfo": { "DataValidationInfo": {
"IgnoreBlank": false "IgnoreBlank": false
}, },
"TestData": "1400424"
},
{
"Name": "仓库路径名",
"DataValidationInfo": {},
"TestData": "gyrnccc" "TestData": "gyrnccc"
}, },
{ {
"Name": "用户名", "Name": "用户名",
"DataValidationInfo": {}, "DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "Administrator" "TestData": "Administrator"
},
{
"Name": "清空钩子",
"DataValidationInfo": {}
} }
], ],
"InvokeTriggerTestData": { "InvokeTriggerTestData": {
@@ -31,55 +32,55 @@
"Commands": [ "Commands": [
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户", "ParameterName": "仓库",
"TableValue": { "TableValue": {
"TableName": "用户信息视图", "TableName": "Git仓库表",
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "78cb510b-3b08-4fee-8df4-b581cd73fcee", "GUID": "6984ed49-645c-4768-a88a-0edc4f34c65c",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "Git仓库表",
"ColumnName": "GIT用户名", "ColumnName": "空间路径名",
"GUID": "b6e5b969-da71-4371-9a85-218e9a38c3ab" "GUID": "a01c203a-e4df-4196-b987-949bb9e2bdf9"
}, },
"ColumnName": "GIT用户名" "ColumnName": "空间路径名"
}, },
{ {
"GUID": "57b469ca-2dca-400b-9537-af32029ab64f", "GUID": "27c330a3-65da-4a14-9f71-81aebbc73575",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "Git仓库表",
"ColumnName": "GIT密码", "ColumnName": "仓库路径名",
"GUID": "482c4996-4547-4c68-a398-80eb4563b998" "GUID": "f0989a4d-ce36-4869-b70a-3d3a7ef5f711"
}, },
"ColumnName": "GIT密码" "ColumnName": "仓库路径名"
},
{
"GUID": "bd5c6119-0f98-41ae-a979-aa49b426d2bf",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "hook_url",
"GUID": "7593214d-3ac3-4f31-8e29-e4230cf2b96a"
},
"ColumnName": "hook_url"
} }
], ],
"SqlCondition": { "SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": { "ColumnBindingInfo": {
"TableName": "用户信息视图", "TableName": "Git仓库表",
"ColumnName": "用户名", "ColumnName": "仓库ID",
"GUID": "8ed9cbb6-76b8-463e-aef4-7585445b3303" "GUID": "856ed04e-a1ca-466b-a6dd-7e36934e1b6a"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名" "SerializeProperty": "=仓库ID"
} }
}, },
"NullFormulaValueQueryPolicy": 0, "NullFormulaValueQueryPolicy": 0,
"TopCount": "1" "TopCount": "1"
}, },
"ID": "50f64a7ee8764989ba838ab9701f5ce3" "ID": "69431f6041fc4cd9b99b4d2e12383acf"
},
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局_Gitee"
},
"SampleJson": "{\r\n \"enterprise\": \"GridStudio\",\r\n \"client_id\": \"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\r\n \"client_secret\": \"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\"\r\n}",
"ToParameter": "Gitee"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -91,7 +92,7 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": { "ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Gitee.enterprise" "SerializeProperty": "=仓库"
} }
}, },
"value": "%Null%", "value": "%Null%",
@@ -100,8 +101,16 @@
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "请求令牌", "ServerCommandName": "列出仓库的WebHooks",
"Parameters": [ "Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "仓库ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
},
{ {
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名", "ParamName": "用户名",
@@ -109,11 +118,6 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名" "SerializeProperty": "=用户名"
} }
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "强制刷新",
"Value": "0"
} }
], ],
"ResultErrorCodeTo": { "ResultErrorCodeTo": {
@@ -124,9 +128,15 @@
}, },
"ReturnPropertiesTo": [ "ReturnPropertiesTo": [
{ {
"ResultPropertyName": "最新令牌", "ResultPropertyName": "钩子列表",
"ResultTo": { "ResultTo": {
"SerializeProperty": "TOKEN" "SerializeProperty": "钩子列表"
}
},
{
"ResultPropertyName": "ACCESS_TOKEN",
"ResultTo": {
"SerializeProperty": "ACCESS_TOKEN"
} }
} }
], ],
@@ -150,114 +160,161 @@
}, },
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"ParameterName": "url", "LoopInfo": {
"ParameterValue": { "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "LoopCount": {
"SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&Gitee.enterprise&\"/\"&仓库路径名&\"/hooks/\"&WebHookId" "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=钩子列表"
},
"LoopItemParamName": "Item"
}, },
"ID": "020374fd3ba147899767312a664c7c2e" "CommandList": [
}, {
{ "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [
"TryCommandPart": { {
"CommandList": [ "Condition": {
{ "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon", "SubConditions": [
"CommandList": [ {
{ "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "param": {
"PostData": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"DataItemType": 1, "ParamObject": {
"Data": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", "SerializeProperty": "=Item.url"
"Data": [ }
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库.hook_url"
}
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=清空钩子"
}
},
"value": "1"
}
],
"RelationType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/hooks/\"&WebHookId"
},
"ID": "0cc504bc6d7044118b6022cea324f20f"
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{ {
"Name": "access_token", "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"DataItemType": 0, "PostData": {
"Data": { "DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ACCESS_TOKEN"
}
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN" "SerializeProperty": "=url"
},
"Method": "DELETE",
"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": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "删除成功"
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
},
"SampleJson": "{\"message\":\"\"}",
"ToParameter": "错误信息"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=错误信息.message"
} }
} }
] ]
} }
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "DELETE",
"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": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "Git_WebHook",
"UpdateType": "delete",
"ShowConfirm": true,
"ConfirmText": "您确定要删除吗?",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "hook_id",
"GUID": "ac7a5b01-c68a-4321-b177-a3e2a9347c46"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=WebHookId"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git_WebHook",
"ColumnName": "仓库ID",
"GUID": "63ba95bb-2258-4f7e-a0c3-fd2c9a82c989",
"RelationBinding": {
"RelatedTable": "Git仓库表",
"RelatedColumn": "仓库ID",
"DisplayColumn": "仓库路径名"
}
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库路径名"
}
}
]
} }
} ],
] "ID": "7bf94930-152d-4ad0-b0ed-06d9cf242245"
}, }
{ ]
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", }
"ErrorCode": "0", ]
"Message": "删除成功" },
} {
] "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "Git仓库表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "ID",
"GUID": "f371a6e5-d82e-455a-a0ab-49d2edaa505a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库ID"
}
}, },
"CatchCommandPart": { "UpdateBindingValues": [
"CommandList": [ {
{ "BindingInfo": {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "TableName": "Git仓库表",
"ErrorCode": "400", "ColumnName": "订阅成功",
"Message": "删除失败" "GUID": "eac7cb09-049a-4f2f-89ec-a6676767f5a2"
} },
] "Value": "0"
} }
]
} }
], ],
"ID": "452284ba-2452-4c0b-a055-d020ad61f420" "ID": "bfa84f55-a5a7-4e19-8ef6-7bcbd8149d2b"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -273,22 +330,22 @@
} }
} }
], ],
"ID": "68f5ba75-4d15-4baf-9ee9-595e5c1815f0" "ID": "49a69f53-dc13-4115-8f1e-fba2282b4880"
} }
] ]
} }
], ],
"ID": "0d3cb56e-14ec-420c-82f9-995d7b5a1a48" "ID": "a9e37a05-1a06-4e28-be3c-79ac1f77bf06"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400", "ErrorCode": "400",
"Message": "请先配置全局Gitee企业路径名" "Message": "仓库不存在!"
} }
], ],
"ID": "abca0571-92c2-428d-870c-f50a45319d21" "ID": "f69ab340-65a3-43d5-95c6-64efefd84138"
} }
] ]
} }

View File

@@ -67,55 +67,38 @@
} }
], ],
"Commands": [ "Commands": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局_Gitee"
},
"SampleJson": "{\"client_id\":\"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\"client_secret\":\"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\",\"回调地址\":\"https://develop.gridfriend.cn/pms/ServerCommand/GitCallback\"}",
"ToParameter": "Gitee配置"
},
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户", "ParameterName": "当前用户",
"TableValue": { "ParameterValue": "%CurrentUser%",
"TableName": "用户信息视图", "ID": "54d3c5b327f8449babca7b5f296cea3a"
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "366500b8-6b5a-415b-b080-c1984c5c546d",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT用户名",
"GUID": "56abe866-0cb9-4437-b844-3e8a8f30dfa5"
},
"ColumnName": "GIT用户名"
},
{
"GUID": "1483cbe9-393e-45d7-94c4-367742849f83",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "GIT密码",
"GUID": "d2ce4ffe-abcb-4b1b-8fbd-f8481b08df32"
},
"ColumnName": "GIT密码"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "af5d8809-daac-453d-9874-3c1a16f44ecd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "1635e0bf7bdf4b56b986f7c95a2104ef"
}, },
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "查找仓库", "ParameterName": "查找仓库",
"TableValue": { "TableValue": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"TableValueType": 3, "TableValueType": 1,
"BindingInfos": [
{
"GUID": "4f669f8c-c38e-452c-9223-35f7a9a27572",
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "订阅成功",
"GUID": "917e816f-695c-4b75-af4d-bb404ea81fb2"
},
"ColumnName": "绑定成功"
}
],
"SqlCondition": { "SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": { "ColumnBindingInfo": {
@@ -128,9 +111,10 @@
"SerializeProperty": "=仓库ID" "SerializeProperty": "=仓库ID"
} }
}, },
"NullFormulaValueQueryPolicy": 0 "NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
}, },
"ID": "2abb0425c40841df8b09b37ecbbf58cb" "ID": "fc30c0772f5e4ae99affdaa5209494b1"
}, },
{ {
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
@@ -148,7 +132,7 @@
"SerializeProperty": "=查找仓库" "SerializeProperty": "=查找仓库"
} }
}, },
"value": "0" "value": "%Null%"
}, },
"CommandList": [ "CommandList": [
{ {
@@ -161,7 +145,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库ID", "ColumnName": "仓库ID",
"GUID": "dbd47bc5-1fde-4182-8e78-1d3c76ea6223" "GUID": "1082605c-1429-4edc-8b4c-434c60c43252"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -172,7 +156,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "空间路径名", "ColumnName": "空间路径名",
"GUID": "abca3f5e-e20c-455b-b775-67f048fa8c87" "GUID": "a2efe75d-6164-4966-b690-801e3795d21a"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -183,7 +167,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "空间名称", "ColumnName": "空间名称",
"GUID": "87681325-0d60-4165-94da-7f3190953f10" "GUID": "a2479990-5f1b-4983-acc4-20f68b94af90"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -194,7 +178,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库路径名", "ColumnName": "仓库路径名",
"GUID": "5b0f1389-5fc4-4330-b890-9d20f57e44bc" "GUID": "eaaa2b00-c63d-4394-a2fe-49c500e2faef"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -205,7 +189,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库名称", "ColumnName": "仓库名称",
"GUID": "714bfac1-405b-4a5d-9a22-bcff5b3cd28f" "GUID": "1b2b0532-572e-4331-ac85-988cbce958c1"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -216,7 +200,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库地址", "ColumnName": "仓库地址",
"GUID": "7dce609f-eea9-4411-8037-4b6a3730449f" "GUID": "5c424701-fce3-44cc-b626-7f14dc7f41c6"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -227,7 +211,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库描述", "ColumnName": "仓库描述",
"GUID": "de30e5d1-4837-4ebc-8ad3-344b36eb75ed" "GUID": "c9c4e52a-839e-4483-9c35-9118cf4ce34d"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -238,7 +222,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库成员", "ColumnName": "仓库成员",
"GUID": "8ae4008a-c654-483d-ab3e-6ffe05ec8f68" "GUID": "8e47036f-a48c-45a7-b205-b42e39cbf499"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -249,7 +233,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "创建人", "ColumnName": "创建人",
"GUID": "15f8dcd3-e557-413c-9edb-b065a7496b0e" "GUID": "1599bc4e-4103-48b1-a5b4-960d658cee14"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -260,17 +244,36 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "创建人头像", "ColumnName": "创建人头像",
"GUID": "c26b8a11-866b-4c85-b69c-45501406eb3b" "GUID": "abb4a6b9-7c75-4455-91c3-dd62370f62a5"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=创建人头像" "SerializeProperty": "=创建人头像"
} }
},
{
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "hook_url",
"GUID": "a9d19b38-b4ab-49dc-8ec3-0544384e5c58"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Gitee配置.回调地址"
}
},
{
"BindingInfo": {
"TableName": "Git仓库表",
"ColumnName": "订阅成功",
"GUID": "50edfabc-aecf-4851-af6f-0f8f09b6a4be"
},
"Value": "0"
} }
] ]
} }
], ],
"ID": "aebd842f-5e38-4248-bc8a-4cd8b7f809e4" "ID": "cce9653e-ed26-4971-bb60-868b659af738"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -296,7 +299,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "空间路径名", "ColumnName": "空间路径名",
"GUID": "4cace823-2051-4a68-be59-823a2b1af654" "GUID": "dd12a605-d5a6-4fdc-8d3e-cb2c5afc191e"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -307,7 +310,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "空间名称", "ColumnName": "空间名称",
"GUID": "1de7544c-bf71-4d40-8a9a-2007c833de53" "GUID": "31dadfcb-2aef-4091-b467-3c1c15e30b76"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -318,7 +321,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库路径名", "ColumnName": "仓库路径名",
"GUID": "00ae0991-9a9b-4f75-aac6-146b1421a1f3" "GUID": "9dcbe99d-92b4-4cb1-aad2-ba5bbeb034b3"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -329,7 +332,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库名称", "ColumnName": "仓库名称",
"GUID": "31ce0962-b44b-4c79-96b8-a4fe0d660f24" "GUID": "a4ae2be3-852a-469f-b408-142d80f48e19"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -340,7 +343,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库地址", "ColumnName": "仓库地址",
"GUID": "af88bb26-fcc8-494a-ae5f-f39d2c549612" "GUID": "2bdc2766-1b71-49a0-b2af-3ac04a956158"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -351,7 +354,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库描述", "ColumnName": "仓库描述",
"GUID": "589d9932-db4e-403d-9484-af3ec8564b39" "GUID": "1cf9fc74-7684-44f9-b48c-fc5f7b15b2b2"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -362,7 +365,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "仓库成员", "ColumnName": "仓库成员",
"GUID": "ffbef827-bb53-428e-a446-e6951cdd4efb" "GUID": "91a2422b-e5db-4225-9ef3-2368813a02bb"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -373,7 +376,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "创建人", "ColumnName": "创建人",
"GUID": "6a03ba3f-11fb-4c27-a6a7-10cd85f29660" "GUID": "88141a74-bb6d-415a-bc4e-dd6fe45111f1"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -384,7 +387,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "Git仓库表", "TableName": "Git仓库表",
"ColumnName": "创建人头像", "ColumnName": "创建人头像",
"GUID": "339132cf-3720-424e-87ef-0a539efe8026" "GUID": "1329af92-8a83-4cba-9294-a8e6349f5e73"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -394,95 +397,118 @@
] ]
} }
], ],
"ID": "62a3c749-befb-4c70-8d39-5f5f5016f21e" "ID": "8d7222c3-a0df-4084-a9e8-39635a46a376"
} }
] ]
}, }
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{ {
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "Condition": {
"ServerCommandName": "创建一个仓库WebHook", "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"Parameters": [ "param": {
{ "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "ParamObject": {
"ParamName": "仓库ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库路径名" "SerializeProperty": "=Gitee配置.回调地址"
} }
}, },
{ "value": "%Null%",
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "compareType": 1
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
}, },
"ResultMessageTo": { "CommandList": [
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{ {
"ResultPropertyName": "id", "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ResultTo": { "ServerCommandName": "创建一个仓库WebHook",
"SerializeProperty": "res_hookId" "Parameters": [
} {
}, "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
{ "ParamName": "仓库ID",
"ResultPropertyName": "url", "Value": {
"ResultTo": {
"SerializeProperty": "res_URL"
}
},
{
"ResultPropertyName": "password",
"ResultTo": {
"SerializeProperty": "res_密码"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code" "SerializeProperty": "=仓库ID"
} }
}, },
"value": "0"
},
"CommandList": [
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ErrorCode": "0", "ParamName": "用户名",
"Message": "仓库创建并订阅成功!" "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "回调地址",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Gitee配置.回调地址"
}
} }
], ],
"ID": "c55bf80e-90d8-4d7f-9365-34f71cfb6567" "ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
}, },
{ {
"CommandList": [ "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "Condition": {
"ErrorCode": "0", "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"Message": "仓库创建成功,但未能订阅,请手动订阅" "param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "仓库创建并订阅成功!"
}
],
"ID": "26633f60-fa35-46ed-8a51-214624ab8565"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"仓库创建成功,但未能订阅:\"&msg"
}
}
],
"ID": "f154763b-8f00-458c-b886-edf25bd928a8"
} }
], ]
"ID": "a8c36ae0-f75f-4215-a245-ac6038b5d58c"
} }
] ],
"ID": "937774c3-9d6c-4e46-a752-2d3f181e52de"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "仓库创建成功!"
}
],
"ID": "2eb0ad43-5996-4e32-8d39-1cd1f5e3cb0d"
} }
] ]
} }

View File

@@ -30,8 +30,7 @@
}, },
{ {
"Name": "关键字", "Name": "关键字",
"DataValidationInfo": {}, "DataValidationInfo": {}
"TestData": "UI"
}, },
{ {
"Name": "页码", "Name": "页码",
@@ -42,11 +41,6 @@
"Name": "行数", "Name": "行数",
"DataValidationInfo": {}, "DataValidationInfo": {},
"TestData": "20" "TestData": "20"
},
{
"Name": "类型",
"DataValidationInfo": {},
"TestData": "企业"
} }
], ],
"InvokeTriggerTestData": { "InvokeTriggerTestData": {
@@ -63,7 +57,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "632e0994-2a36-41ec-9804-50a50c5a7a9c", "GUID": "bd58b78a-c6da-4660-a206-3882182af407",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "GIT用户名", "ColumnName": "GIT用户名",
@@ -72,7 +66,7 @@
"ColumnName": "GIT用户名" "ColumnName": "GIT用户名"
}, },
{ {
"GUID": "51efeb90-0f7f-48e1-8b17-2da73b571818", "GUID": "1187803a-6219-4476-baad-d2de55dc7cbe",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "GIT密码", "ColumnName": "GIT密码",
@@ -96,16 +90,46 @@
"NullFormulaValueQueryPolicy": 0, "NullFormulaValueQueryPolicy": 0,
"TopCount": "1" "TopCount": "1"
}, },
"ID": "739a7b1fc47d4c43ab0f9926980780a3" "ID": "86ff7d43aa9e4b9fbdb615e033c310f9"
}, },
{ {
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"JsonString": { "OutParamaterName": "仓库列表"
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", },
"SerializeProperty": "=全局_Gitee" {
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "请求令牌",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "强制刷新",
"Value": "1"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
}, },
"SampleJson": "{\"enterprise\":\"GridStudio\",\"client_id\":\"c7d05fcbaf78ad728fcc0267d081ae6c50dc667667758a0933525d4cbe09ed90\",\"client_secret\":\"b4d40db2155ca530e5771b37a2fb67161d4106c64df28f32504b4e3bcfb81313\"}", "ResultMessageTo": {
"ToParameter": "Gitee" "SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "最新令牌",
"ResultTo": {
"SerializeProperty": "TOKEN"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -117,585 +141,279 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": { "ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Gitee.enterprise" "SerializeProperty": "=code"
} }
}, },
"value": "%Null%", "value": "0"
"compareType": 1
}, },
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ServerCommandName": "请求令牌", "ParameterName": "url",
"Parameters": [ "ParameterValue": "https://gitee.com/api/v5/user/repos",
{ "ID": "0cc32b8ca0f9411c8519262b7971b1a1"
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=用户名"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "强制刷新",
"Value": "1"
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "最新令牌",
"ResultTo": {
"SerializeProperty": "TOKEN"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [ "TryCommandPart": {
{ "CommandList": [
"Condition": { {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"param": { "PostData": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "DataItemType": 1,
"ParamObject": { "Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"SerializeProperty": "=code" "Data": [
}
},
"value": "0"
},
"CommandList": [
{
"$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": "个人"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": "https://gitee.com/api/v5/user/repos",
"ID": "e87eaebfa9f740ec9f36f69f062d99df"
},
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
},
{
"Name": "visibility",
"DataItemType": 0,
"Data": "all"
},
{
"Name": "affiliation",
"DataItemType": 0,
"Data": "admin"
},
{
"Name": "q",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关键字"
}
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=行数"
}
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"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
}
],
"ID": "6ad852dc-f0f9-406b-876f-184f83524090"
},
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=类型"
}
},
"value": "企业"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"https://gitee.com/api/v5/enterprises/\"&Gitee.enterprise&\"/repos\""
},
"ID": "47758608776342c69eba4ef82575a94e"
},
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
},
{
"Name": "search",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关键字"
}
},
{
"Name": "type",
"DataItemType": 0,
"Data": "all"
},
{
"Name": "direct",
"DataItemType": 0,
"Data": true
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=行数"
}
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"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
}
],
"ID": "3a7dfa5c-2fbc-42e8-a9db-52c76a347a24"
},
{
"CommandList": [
{
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "url",
"ParameterValue": "https://gitee.com/api/v5/search/repositories",
"ID": "f6c4537f166f41d2ac4c7da839a2daa6"
},
{
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": {
"DataItemType": 1,
"Data": {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"Data": [
{
"Name": "access_token",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TOKEN"
}
},
{
"Name": "q",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关键字"
}
},
{
"Name": "fork",
"DataItemType": 0,
"Data": false
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=行数"
}
}
]
}
},
"JsonString": "",
"WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=url"
},
"Method": "GET",
"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
}
],
"ID": "28684180-7bc4-4ceb-a40d-4089961cc44e"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "搜索所有仓库时,必须填写关键字",
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表"
}
]
}
],
"ID": "08c2c1e8-fe59-4503-ba27-303f58aa602f"
}
]
}
],
"ID": "601681b2-eb33-4b89-af31-b9528b9ff14e"
}
]
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "Name": "access_token",
"ConditionAndCommandPairList": [ "DataItemType": 0,
{ "Data": {
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.Count"
}
},
"value": "0",
"compareType": 2
},
"CommandList": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"OutParamaterName": "仓库列表"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result"
},
"LoopItemParamName": "Item"
},
"CommandList": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.members"
},
"Operation": 16,
"OperationParamaterAName": ",",
"OutParamaterName": "仓库成员名称"
},
{
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": [
{
"Name": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.id"
}
},
{
"Name": "空间路径名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.namespace.path"
}
},
{
"Name": "空间名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.namespace.name"
}
},
{
"Name": "仓库路径名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.path"
}
},
{
"Name": "仓库名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.name"
}
},
{
"Name": "仓库地址",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.html_url"
}
},
{
"Name": "仓库描述",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.description"
}
},
{
"Name": "仓库成员",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库成员名称"
}
},
{
"Name": "创建人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.owner.name"
}
},
{
"Name": "创建人头像",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.owner.avatar_url"
}
}
],
"OutParamaterName": "仓库信息"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库列表"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库信息"
},
"OutParamaterName": "仓库列表"
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取成功",
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库列表"
}
}
]
}
],
"ID": "5be73592-8762-4dc7-9792-95dd0a25da67"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "无仓库信息",
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表"
}
]
}
],
"ID": "d76def9f-10ce-46da-8ea2-437362839574"
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.message" "SerializeProperty": "=TOKEN"
}, }
"CustomReturns": [ },
{ {
"ReturnPropertyName": "仓库列表" "Name": "visibility",
} "DataItemType": 0,
] "Data": "all"
},
{
"Name": "affiliation",
"DataItemType": 0,
"Data": "admin"
},
{
"Name": "q",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关键字"
}
},
{
"Name": "sort",
"DataItemType": 0,
"Data": "updated"
},
{
"Name": "direction",
"DataItemType": 0,
"Data": "desc"
},
{
"Name": "page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页码"
}
},
{
"Name": "per_page",
"DataItemType": 0,
"Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=行数"
}
} }
] ]
} }
} },
], "JsonString": "",
"ID": "abcdda2d-3ea1-4638-a366-68531218353e" "WebUrl": {
}, "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
{ "SerializeProperty": "=url"
"CommandList": [ },
{ "Method": "GET",
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"ErrorCode": { "ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
"NewParameter": "result",
"Header": [],
"Timeout": 100.0
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
"LoopInfo": {
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
"LoopCount": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code" "SerializeProperty": "=result"
}, },
"Message": { "LoopItemParamName": "Item"
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", },
"SerializeProperty": "=msg" "CommandList": [
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.members"
},
"Operation": 16,
"OperationParamaterAName": ",",
"OutParamaterName": "仓库成员名称"
}, },
"CustomReturns": [ {
{ "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"ReturnPropertyName": "仓库列表" "OperationParamaterPairs": [
{
"Name": "ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.id"
}
},
{
"Name": "空间路径名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.namespace.path"
}
},
{
"Name": "空间名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.namespace.name"
}
},
{
"Name": "仓库路径名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.path"
}
},
{
"Name": "仓库名称",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.name"
}
},
{
"Name": "仓库地址",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.html_url"
}
},
{
"Name": "仓库描述",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.description"
}
},
{
"Name": "仓库成员",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库成员名称"
}
},
{
"Name": "创建人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.owner.name"
}
},
{
"Name": "创建人头像",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=Item.owner.avatar_url"
}
}
],
"OutParamaterName": "仓库信息"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库列表"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库信息"
},
"OutParamaterName": "仓库列表"
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取成功",
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库列表"
} }
] },
} {
], "ReturnPropertyName": "总行数",
"ID": "62914a42-8123-4e6c-9e67-54744d913100" "Value": "100"
} }
] ]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.message"
},
"CustomReturns": [
{
"ReturnPropertyName": "仓库列表"
},
{
"ReturnPropertyName": "总行数"
}
]
}
]
}
} }
], ],
"ID": "c6a43e25-6dde-4fb7-8f24-cbd2c728e192" "ID": "8a7c97c0-4535-4e2a-852c-70792a53e6ff"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400", "ErrorCode": {
"Message": "请先配置全局Gitee企业路径名", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
},
"CustomReturns": [ "CustomReturns": [
{ {
"ReturnPropertyName": "仓库列表" "ReturnPropertyName": "仓库列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=仓库列表"
}
},
{
"ReturnPropertyName": "总行数"
} }
] ]
} }
], ],
"ID": "a0f96d73-acf3-410a-904d-3774cc75fca2" "ID": "d1bd854a-0f1a-4896-8546-efd00f9b14cd"
} }
] ]
} }
@@ -703,6 +421,9 @@
"ReturnProperties": [ "ReturnProperties": [
{ {
"Name": "仓库列表" "Name": "仓库列表"
},
{
"Name": "总行数"
} }
] ]
} }

View File

@@ -40,7 +40,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "b4222772-c3d0-4440-8639-27288df25dba", "GUID": "74dd4d3e-636e-4f65-acce-33a26d73a725",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "GIT用户名", "ColumnName": "GIT用户名",
@@ -49,7 +49,7 @@
"ColumnName": "GIT用户名" "ColumnName": "GIT用户名"
}, },
{ {
"GUID": "f179a166-ffdc-420b-b7ea-6fa8555406f6", "GUID": "109cbeb8-ba05-40af-b2a2-020b88398ce7",
"BindingInfo": { "BindingInfo": {
"TableName": "用户信息视图", "TableName": "用户信息视图",
"ColumnName": "GIT密码", "ColumnName": "GIT密码",
@@ -72,7 +72,7 @@
}, },
"TopCount": "1" "TopCount": "1"
}, },
"ID": "cff69cd7a24c45f994ffa93787bc4eaf" "ID": "261743f5d31b4b9bb40716e2ec8b01b8"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -146,7 +146,7 @@
"$type": "CacheOperationCommand.CacheGetCommand, CacheOperationCommand", "$type": "CacheOperationCommand.CacheGetCommand, CacheOperationCommand",
"CacheKeyStr": { "CacheKeyStr": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户.GIT用户名+\"_Gitee_access_token\"" "SerializeProperty": "=当前用户.GIT用户名&\"_\"&\"_Gitee_access_token\""
}, },
"ParamName": "获取缓存TOKEN" "ParamName": "获取缓存TOKEN"
}, },
@@ -199,159 +199,192 @@
] ]
} }
], ],
"ID": "fbb8609c-5624-404e-a16c-14e9e8550b15" "ID": "7865b2e7-8ccf-486d-ba5a-68e7d760c331"
}, },
{ {
"CommandList": [ "CommandList": [
{ {
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"PostData": { "TryCommandPart": {
"DataItemType": 1, "CommandList": [
"Data": { {
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi", "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"Data": [ "PostData": {
{ "DataItemType": 1,
"Name": "grant_type",
"DataItemType": 0,
"Data": "password"
},
{
"Name": "username",
"DataItemType": 0,
"Data": { "Data": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
"SerializeProperty": "=当前用户.GIT用户名" "Data": [
} {
}, "Name": "grant_type",
{ "DataItemType": 0,
"Name": "password", "Data": "password"
"DataItemType": 0, },
"Data": { {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "Name": "username",
"SerializeProperty": "=当前用户.GIT密码" "DataItemType": 0,
} "Data": {
}, "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
{ "SerializeProperty": "=当前用户.GIT用户名"
"Name": "client_id", }
"DataItemType": 0, },
"Data": { {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "Name": "password",
"SerializeProperty": "=Gitee配置.client_id" "DataItemType": 0,
} "Data": {
}, "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
{ "SerializeProperty": "=当前用户.GIT密码"
"Name": "client_secret", }
"DataItemType": 0, },
"Data": { {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "Name": "client_id",
"SerializeProperty": "=Gitee配置.client_secret" "DataItemType": 0,
} "Data": {
}, "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
{ "SerializeProperty": "=Gitee配置.client_id"
"Name": "scope", }
"DataItemType": 0, },
"Data": "user_info projects pull_requests issues notes keys hook groups gists enterprises" {
} "Name": "client_secret",
] "DataItemType": 0,
} "Data": {
}, "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"JsonString": "", "SerializeProperty": "=Gitee配置.client_secret"
"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);", "Name": "scope",
"NewParameter": "result", "DataItemType": 0,
"Header": [], "Data": "user_info projects pull_requests issues notes keys hook groups gists enterprises"
"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": "CacheOperationCommand.CacheAddCommand, CacheOperationCommand",
"CacheKeyStr": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户.GIT用户名+\"_Gitee_access_token\""
},
"CacheValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=RES.access_token"
},
"CacheSeconds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=RES.expires_in"
},
"ParamName": "缓存结果"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取最新TOKEN成功",
"CustomReturns": [
{
"ReturnPropertyName": "最新令牌",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=RES.access_token"
} }
} ]
] }
} },
], "JsonString": "",
"ID": "6aa74ad7-c578-4fef-af9c-fb96a6631550" "WebUrl": "https://gitee.com/oauth/token",
}, "Method": "POST",
{ "SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
"CommandList": [ "ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
{ "NewParameter": "result",
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "Header": [],
"ErrorCode": { "Timeout": 100.0
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", },
"SerializeProperty": "=result.error" {
"$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": "CacheOperationCommand.CacheAddCommand, CacheOperationCommand",
"CacheKeyStr": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=当前用户.GIT用户名&\"_\"&\"_Gitee_access_token\""
},
"CacheValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=RES.access_token"
},
"CacheSeconds": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=RES.expires_in"
},
"ParamName": "缓存结果"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取最新TOKEN成功",
"CustomReturns": [
{
"ReturnPropertyName": "最新令牌",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=RES.access_token"
}
}
]
}
],
"ID": "ae11d952-819c-4a9c-8ea5-3d1fa00c2a5b"
}, },
"Message": { {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "CommandList": [
"SerializeProperty": "=result.error_description" {
}, "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"CustomReturns": [ "ErrorCode": {
{ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"ReturnPropertyName": "最新令牌" "SerializeProperty": "=result.error"
} },
] "Message": {
} "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
], "SerializeProperty": "=result.error_description"
"ID": "cb2dbe62-dd22-4eaa-a70c-8be8feeb74c5" },
} "CustomReturns": [
] {
"ReturnPropertyName": "最新令牌"
}
]
}
],
"ID": "49d139cd-c0d1-4bf4-99ef-1904c6842a84"
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
},
"SampleJson": "{\"message\":\"\"}",
"ToParameter": "错误信息"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=错误信息.message"
},
"CustomReturns": [
{
"ReturnPropertyName": "最新令牌"
}
]
}
]
}
} }
], ],
"ID": "8d208ae4-19ac-49ba-92d2-d3f1133ef4dc" "ID": "8ddfb90f-3fb6-4561-950d-b1b6cee04bb9"
} }
] ]
} }
], ],
"ID": "ebf144b0-dd6f-4c75-b889-9ada8b6db780" "ID": "ad68ffe5-0b5c-4467-b56f-f066062c4361"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -366,12 +399,12 @@
] ]
} }
], ],
"ID": "3036ecd5-8001-4122-82b6-31e54d15c529" "ID": "e250f7a9-8b5e-4dd9-90a5-d4ec0248c612"
} }
] ]
} }
], ],
"ID": "e8e2fdd1-88f6-481e-86f1-5d189154b0a7" "ID": "76875b4b-7d4c-4c17-bd15-bd3a3051819e"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -386,7 +419,7 @@
] ]
} }
], ],
"ID": "403fa8e4-ab3a-4db8-ae32-e95b4c4a3d26" "ID": "841634f8-211a-4eef-a3a5-6365048ecdaa"
} }
] ]
} }

View File

@@ -85,10 +85,10 @@
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": { "JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局配置" "SerializeProperty": "=全局_AI配置"
}, },
"SampleJson": "{\"AI提示词1\":\"我将发给你一个记录着某人一天工作内容的数据为JSON字符串请你尝试解读它内容中的[汇报类型]分为`日报`和`计划`。\\n- 日报指的是昨日工作内容的总结;\\n- 计划指的是今日计划工作安排;\\n请你使用为我编写一篇简要的工作日报对于日报结构和要求如下\\n标题为固定格式YYYY年MM年DD月-某某工作日报\\n内容包含两个主题昨日工作总结、今日工作计划\\n每个主题下的内容从JSON中总结可以适当润色但不可过度偏离源数据中的工作内容\"}", "SampleJson": "{\"AI提示词1\":\"我将发给你一个记录着某人一天工作内容的数据为JSON字符串请你尝试解读它内容中的[汇报类型]分为`日报`和`计划`。\\n- 日报指的是昨日工作内容的总结;\\n- 计划指的是今日计划工作安排;\\n请你使用为我编写一篇简要的工作日报对于日报结构和要求如下\\n标题为固定格式YYYY年MM年DD月-某某工作日报\\n内容包含两个主题昨日工作总结、今日工作计划\\n每个主题下的内容从JSON中总结可以适当润色但不可过度偏离源数据中的工作内容\"}",
"ToParameter": "全局配置JSON" "ToParameter": "AI配置JSON"
}, },
{ {
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
@@ -163,7 +163,6 @@
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY", "$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
"URL": "https://openai.api2d.net", "URL": "https://openai.api2d.net",
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh", "APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
"ORGANIZATION": "",
"IsDataSource": "json", "IsDataSource": "json",
"MessageJSON": { "MessageJSON": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -176,7 +175,7 @@
"MaxTokens": 3000, "MaxTokens": 3000,
"SystemContent": { "SystemContent": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=全局配置JSON.AI提示词1" "SerializeProperty": "=AI配置JSON.AI提示词1"
}, },
"Response_format": "text" "Response_format": "text"
}, },
@@ -191,7 +190,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.content" "SerializeProperty": "=result.content"
}, },
"ID": "4b21c6860da34da3bfcc81eda17c4c76" "ID": "8ab144aa1cbc41579b64c8f3755bb4ea"
}, },
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
@@ -231,7 +230,7 @@
} }
} }
], ],
"ID": "5a66cb4e-3cd9-4701-afa5-a1fd33b7e87f" "ID": "1ce672b4-5cb7-4617-b49d-b008a1c33358"
}, },
{ {
"CommandList": [ "CommandList": [
@@ -246,7 +245,7 @@
] ]
} }
], ],
"ID": "10f38766-4f2a-4bc6-88bd-7eba3f9cfc5e" "ID": "2f7cf118-ce26-4d20-a909-e3f8c8c44637"
} }
] ]
} }

View File

@@ -0,0 +1,55 @@
{
"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": "{\"版本号\":\"\"}",
"ToParameter": "业务配置"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "获取成功",
"CustomReturns": [
{
"ReturnPropertyName": "版本号",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=业务配置.版本号"
}
}
]
}
],
"ReturnProperties": [
{
"Name": "版本号"
}
]
}

View File

@@ -28,12 +28,14 @@
{ {
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar", "DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "提交人", "Name": "提交人",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}, },
{ {
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar", "DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "事件内容", "Name": "事件内容",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}, },

View File

@@ -87,6 +87,27 @@
"Name": "仓库标题", "Name": "仓库标题",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}, },
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "hook_url",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "钩子ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "订阅成功",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{ {
"$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon",
"BindingInfo": { "BindingInfo": {

View File

@@ -57,6 +57,20 @@
"Name": "默认时薪", "Name": "默认时薪",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}, },
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "GIT用户名",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "GIT密码",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{ {
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "System.String", "DatabaseColumnType": "System.String",
@@ -82,7 +96,7 @@
"BuiltInViewInfo": { "BuiltInViewInfo": {
"ViewName": "用户信息视图", "ViewName": "用户信息视图",
"SourceTableName": "FGC_UserInfoTable", "SourceTableName": "FGC_UserInfoTable",
"CreateViewSql": "SELECT [FGC_UserName] AS [用户名], [FGC_FullName] AS [全名], [FGC_Email] AS [邮件], [FGC_IsEnabled] AS [有效], [FGC_Role] AS [角色], [FGC_OrganizationSuperior] AS [组织上级], [负荷] AS [负荷], [默认时薪] AS [默认时薪], [公司] AS [公司], [部门] AS [部门], [小组] AS [小组] FROM [FGC_UserInfoTable]", "CreateViewSql": "SELECT [FGC_UserName] AS [用户名], [FGC_FullName] AS [全名], [FGC_Email] AS [邮件], [FGC_IsEnabled] AS [有效], [FGC_Role] AS [角色], [FGC_OrganizationSuperior] AS [组织上级], [负荷] AS [负荷], [默认时薪] AS [默认时薪], [GIT用户名] AS [GIT用户名], [GIT密码] AS [GIT密码], [公司] AS [公司], [部门] AS [部门], [小组] AS [小组] FROM [FGC_UserInfoTable]",
"ViewType": 1 "ViewType": 1
}, },
"PrimaryKey": [ "PrimaryKey": [

View File

@@ -32,6 +32,13 @@
"Name": "执行人", "Name": "执行人",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}, },
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "nvarchar",
"MaxLength": -1,
"Name": "类型",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{ {
"$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",

View File

@@ -32,6 +32,13 @@
"Name": "仓库ID", "Name": "仓库ID",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" "ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
}, },
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "Git订阅",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{ {
"$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon",
"BindingInfo": { "BindingInfo": {

View File

@@ -177,4 +177,9 @@
.repeater-item .hover-btn { .repeater-item .hover-btn {
opacity: 0; opacity: 0;
}
/* 隐藏未注册提示条 */
a[href="https://www.grapecity.com.cn/solutions/huozige?utm_source=exe&utm_medium=huozige"] {
display: none;
} }