diff --git a/.collaboration b/.collaboration index f07c786f..2d3f42c7 100644 --- a/.collaboration +++ b/.collaboration @@ -602,17 +602,7 @@ }, { "ModuleName": "PCPage/任务版本详情", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:21:46.6617587+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\项目\\项目首页\\项目首页-容器页面\\任务版本详情.json", - "Pages\\项目\\项目首页\\项目首页-容器页面\\任务版本详情.rd" - ] + "ModuleType": 1 }, { "ModuleName": "PCPage/项目周报列表", @@ -1568,44 +1558,7 @@ }, { "ModuleName": "Plugin", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:51:49.2928013+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_2_0.zip", - "Plugin\\设置焦点命令-10_0_2_0.zip" - ] + "ModuleType": 40 }, { "ModuleName": "PublishSetting", @@ -1689,16 +1642,7 @@ }, { "ModuleName": "Table/Git仓库表", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:23:58.4689013+08:00", - "ModuleType": 7, - "ToRemoveFiles": [ - "Tables\\Git\\Git仓库表.json" - ] + "ModuleType": 7 }, { "ModuleName": "Table/Git_WebHook", @@ -1710,16 +1654,7 @@ }, { "ModuleName": "ServerCommand/GitCallback", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:29:51.1854141+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\Gitee\\GitCallback.json" - ] + "ModuleType": 15 }, { "ModuleName": "Table/日志表", @@ -1727,32 +1662,11 @@ }, { "ModuleName": "Table/Git_事件记录", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:43:27.9942232+08:00", - "ModuleType": 7, - "ToRemoveFiles": [ - "Tables\\Git\\Git_事件记录.json" - ] + "ModuleType": 7 }, { "ModuleName": "PCPage/选择Git仓库", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:22:56.400894+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\Git\\选择Git仓库.json", - "Pages\\Git\\选择Git仓库.rd", - "Pages\\4347ba70d904424d852fada4b0f0b0a.json", - "Pages\\4347ba70d904424d852fada4b0f0b0a.rd" - ] + "ModuleType": 1 }, { "ModuleName": "Pages/Git", @@ -1760,16 +1674,7 @@ }, { "ModuleName": "ServerCommand/同步一个仓库到表", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:18:23.4990066+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\Gitee\\同步一个仓库到表.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommand/搜索仓库列表", @@ -1809,17 +1714,7 @@ }, { "ModuleName": "UserControlPage/Git仓库卡片", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:21:06.199704+08:00", - "ModuleType": 31, - "ToRemoveFiles": [ - "UserControlPages\\Git仓库卡片.json", - "UserControlPages\\Git仓库卡片.rd" - ] + "ModuleType": 31 }, { "ModuleName": "Image/gitee.svg", @@ -1931,32 +1826,14 @@ }, { "ModuleName": "ServerCommand/仓库的所有提交", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T15:44:29.962037+08:00", "ModuleType": 15 }, { "ModuleName": "ServerCommand/服务端命令1", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:40:57.9116212+08:00", "ModuleType": 15 }, { "ModuleName": "ServerCommand/服务端命令3", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-06-15T16:44:13.1441951+08:00", "ModuleType": 15 } ] \ No newline at end of file diff --git a/Pages/Git/选择Git仓库.json b/Pages/Git/选择Git仓库.json index 987ae17c..b3131f5c 100644 --- a/Pages/Git/选择Git仓库.json +++ b/Pages/Git/选择Git仓库.json @@ -513,7 +513,7 @@ "ID": "3dd5369fe9fd4892bdfee20ba2131fbe" } ], - "ID": "e78c6e5a-dcb4-463b-b2dd-929a109be6d1" + "ID": "257e23b2-b871-400a-93e5-1d792bd51951" }, { "CommandList": [ @@ -561,7 +561,7 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=选择Git仓库!选择行" }, - "OperationParamaterName": "分支名称", + "OperationParamaterName": "默认分支", "OperationParamaterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=选择Git仓库!选择分支" @@ -581,7 +581,7 @@ ] } ], - "ID": "32a3487d-0983-4c25-b25e-3d68df991732" + "ID": "3431661f-4c41-4efa-9cd0-e66bcdfb9506" } ] } @@ -614,12 +614,12 @@ ] } ], - "ID": "f12f2eb3-0d04-415a-8aca-defb048099b0" + "ID": "f2b89cca-2e74-40f2-8dec-95934e7a4cfb" } ] } ], - "ID": "e2523b9e-b5d0-4117-aca8-dfd54c592031" + "ID": "649c3709-5700-4049-ba5b-31c8b3507be4" }, { "CommandList": [ @@ -666,12 +666,12 @@ "ID": "1db9e1be3657414792ff0d00e24a51c2" } ], - "ID": "c4bad0e2-1ea3-4fb9-9a62-6e93af22024c" + "ID": "8c47bdd1-0d3a-4345-b103-7b590c75f681" } ] } ], - "ID": "6e6bc466-40a3-472a-abc2-746e79636b59" + "ID": "aee54461-fcf8-4fa4-a126-87426f830e53" } ] }, @@ -682,7 +682,7 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=选择Git仓库!选择行" }, - "OperationParamaterName": "分支名称", + "OperationParamaterName": "默认分支", "OperationParamaterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=选择Git仓库!分支名称" @@ -738,7 +738,7 @@ ] } ], - "ID": "987c6b40-c720-40f1-957a-ffeb4097087b" + "ID": "72e1b1a3-a27f-40d1-b82a-32b6c1154544" }, { "CommandList": [ @@ -748,12 +748,12 @@ "Message": "请选择要绑定的仓库和分支" } ], - "ID": "8505ba25-57ff-431a-8c31-ab1394c2e3e8" + "ID": "4cd8c98c-cd50-4905-bccb-83e1a5ea1aa3" } ] } ], - "ID": "59029747-e42c-43c2-8ddf-5f043bbea7ff" + "ID": "e131d3e0-3e54-4ae3-8ecd-4d74f1021cfc" }, { "CommandList": [ @@ -763,7 +763,7 @@ "Message": "请选择一个仓库" } ], - "ID": "055d9eb9-20f7-4660-908e-d562e43b2176" + "ID": "94236f0f-4de0-4996-9fd8-ea11251fae99" } ] } @@ -1214,7 +1214,7 @@ "SampleJson": "[\r\n {\r\n \"ID\": 28499535,\r\n \"空间路径名\": \"GridStudio\",\r\n \"空间名称\": \"罗田县格友软件开发工作室\",\r\n \"仓库路径名\": \"lodop-plugin-application-demo\",\r\n \"仓库名称\": \"LODOP插件应用DEMO\",\r\n \"仓库地址\": \"https://gitee.com/GridStudio/lodop-plugin-application-demo.git\",\r\n \"仓库描述\": \"活字格前端插件\",\r\n \"仓库成员\": \"cuckooent\",\r\n \"创建人\": \"超哥\",\r\n \"创建人头像\": \"https://foruda.gitee.com/avatar/1677043949039184563/5267986_cuckooent_1646218684.png\",\r\n \"hooks_url\":\"\",\r\n \"默认分支\":\"\"\r\n }\r\n]\r\n" } ], - "ID": "ebb79263-2794-43f1-8f3c-e2da0192130f" + "ID": "2510eaf3-cc7a-4078-a243-a8283989cbc0" }, { "CommandList": [ @@ -1229,7 +1229,7 @@ "BtnText": "知道了" } ], - "ID": "a1b3223f-86f6-415b-903f-2d7d69af5430" + "ID": "fa393b76-6e11-4093-8b6c-2a6a35a8e74c" } ] }, @@ -1792,4 +1792,4 @@ "Formula": "选择Git仓库!$R$27" } ] -}//We7vE3IhgS+zPyeB3GngENlmsYRBXuABgA1AJpGzPyVrH5XLN4Zdv+dhRGmpDw8i8uelNZ5I6Bvxat3YRPsbFa4etyLzj7ikHphgA8wK6aSYFf46FKJF/hFUrElipgDNCBf/1zCdF1Ba4YHAnEXJJJ0JTfm5LQdkc2XlVFXZCgCeHJOL1NnZ/PkiwcHkP9R5+88e3WtKQbleazobaZ5mZVlFPsRt8Kjp/P8mZqduty/o1XUcsAF+F6eekqOhoSGdz+OAOFsm2YzI8QDneXrhoel0wye6LTCtRRmm57Ae+NO8CMTuEbQMHEWzOEEcI4GunxYNjrhJq1mrBe+2548IkS+oWVlwYbe4jWza81S+o2/f0ZVDY5GgLYSuW1HYbH+mqOvnP8O65K2Jo5EokAUO2ApBKxXiVQKc8MiU41Qyw2uAV2U/AMyRwN0Iux1kktelddz+AwAfniCmZUJinxiFATDLm4djSyz0PZhXuk/f82V85UbKSvNzw12glrhquU3D5L2rJPNXCHX7dWO7DcVUW3Fh1zZxD8ppJbgsgJ1K4lyFmxizNP9xX25yvmQXunuIaD7zc4cNjUbEOgKOx3GSQSjdg+j9gSTQ6pWs7JHpsh/TNcHipMnBZb4HDlzu8qinG95S4LfBuLIq9AUcbgKGk1/gFOXcH4JwPDt4zTHT1f18bVy+RlbF4dTZKjZ5vwz1/t29/Ew9eN9+Za0hORYwMY9GU4kpv3p5/fRRpm4r8K4kZFrt5uxUGKz5IdXvDbQjAH8B+r/3MQ5oUrSboS/7E5ENiDYz3f2rs8ySxcBEOyxPc8kN78uHn3w3LfqryFIWMhXxplAqd0iFZJKULw3G1Pvev4jMaho1myr4rKe5d3D2O3mOqu8dJfKe7ITtriZtDWcoXOlAi+g9aAkVKqqKNA==|920 \ No newline at end of file +}//fOv0xPbMxp8Xio0UI+Yf4K/A8pnAzEtigqLjKeKn+cCkGkJD06UG+Tc6eJ3zBv2/5Guy7mwNKKLo9gkKoUtW55tqpoJ8Ke/Ouzf0bFm3j2yBedt0qdUjACJDblu43YECVIcCe12s7h/V8usb0ofRJ6mvRIrtaCS1VkcfL9Sccbgo/HnS9PsR6Wk8WmD8Z721IL9nz5tFAHQr0xHXn4gZBIwSpVrtaLBtGNH4Ak+G8bqwy7nqIQ+PEZRqsdIC6rU6VWS+Yr+xbmLnJShLhX2LU/3LK8mjuK5k4RCdug1S0dKmd9XeUedcF6eVXfXLZmjpDfMg9uZsTmkuckHWYUnBetnMp0csrcN5lXKMaOwUM/afO6oQb1FLznnCGEUggfQd4AzeYtk0kiSMrx1cmRSMDPIG5D2SplLBwcoKhLZjQRs7jICPiPXohIqeBcMWc4QrBXikW6e/EcZaAubWZQoZFL5NE5jGKadw0CTffDi4eXXgAyoPJe0PUAUwDsWea9U+bpLSfnmI29ERq/kCvdu2ud8+2kB362AtPzpmZIV7/xrFp4tHQvH3DxRLjASztoddD5xDbN3tsB20aO/2v95fERlH5lZtIxIY0GkAEmzbeUHwPTdXHDfTYNvYJYUDNxBWTiKFEA5EGEvCdXh9n9yaeT7fwVtwRd5MZJePXeswi/d6U2TyImA11smDBQhVLm6ISBEhrE2Hd4n3064IqjvSiSQc5MEROqmC+deGJ9KFDO33QiyFVc8tdKvneke559EcS9u66DqnDYJk4n27NfLjtjaCyON5h0lxgprbJaqvlsmIMc5FXtbgOTXn69aBaCH/8stPzBL73sO37ZEQYBAZ94XiLb2mbPy3mXLD7hez/8zQ2PUUjXginCW5eH9ex4o3LQqvO2logRzicgcaeKjHFQ==|920 \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/任务版本详情.json b/Pages/项目/项目首页/项目首页-容器页面/任务版本详情.json index 4ec930f9..77093980 100644 --- a/Pages/项目/项目首页/项目首页-容器页面/任务版本详情.json +++ b/Pages/项目/项目首页/项目首页-容器页面/任务版本详情.json @@ -486,6 +486,13 @@ { "PropertyName": "显示删除", "PropertyValue": "1" + }, + { + "PropertyName": "默认分支", + "PropertyValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=任务版本详情!仓库信息.默认分支" + } } ] }, @@ -527,21 +534,20 @@ ] } ], - "ID": "a284034c-a6ed-4d98-af93-d181d24757bc" + "ID": "a11517d6-8b56-44d0-80d3-7a58b691f70a" } ] } ], "ParamProperties": { "IsOK": "是否为确定", - "仓库ID": "仓库ID", "仓库信息": "仓库信息" } }, "PageName": "选择Git仓库" } ], - "ID": "c776141f-abed-407b-abbb-53d4bf88d31c" + "ID": "497e8728-6f16-41d9-9b6c-227bdf97c5f3" }, { "CommandList": [ @@ -717,7 +723,7 @@ ] } ], - "ID": "778d7c53-5c28-4fe9-a8cb-b380403cc488" + "ID": "f2b8630a-bbd6-444a-afbc-4eba26a8f62c" } ] } @@ -731,7 +737,7 @@ "PageName": "完善Gitee资料" } ], - "ID": "7484c0f4-ca6b-4124-9c7b-b58de0c056ab" + "ID": "36bde4fa-3d76-4002-91a3-d35b25518b0d" } ] } @@ -914,6 +920,12 @@ "PropertyValueTo": { "SerializeProperty": "空间路径名" } + }, + { + "PropertyName": "默认分支", + "PropertyValueTo": { + "SerializeProperty": "默认分支" + } } ] }, @@ -1011,6 +1023,14 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务版本详情!hook_api_url" } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "默认分支", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=任务版本详情!默认分支" + } } ], "ResultErrorCodeTo": { @@ -1051,12 +1071,12 @@ "$type": "Forguncy.Model.StopCommand, ServerDesignerCommon" } ], - "ID": "c4dc1154-7539-4fcb-9e13-3cfa976b16eb" + "ID": "85c42f5f-bb38-4610-a9bc-c32dd5c7fe5f" } ] } ], - "ID": "3f70baa0-7fe2-4c39-ac51-004a054dab4f" + "ID": "d1fc43a8-ebbc-482b-9016-376d070b9ead" } ] }, @@ -1085,7 +1105,7 @@ "ReloadAfterSucceed": false } ], - "ID": "2a40311c-2d19-40cd-bb39-4778cf6903ab" + "ID": "7f8992df-b246-44ea-a491-799233ecc1b5" }, { "CommandList": [ @@ -1096,7 +1116,7 @@ "ReloadAfterSucceed": false } ], - "ID": "6e2e5a18-beff-45ba-a4ff-fc81a69e6861" + "ID": "4128ab28-0d8b-4170-89a2-15041c01f8d5" } ] }, @@ -1242,7 +1262,7 @@ ] } ], - "ID": "419b4c23-3eb9-468b-9c9a-798c0366ae16" + "ID": "0ec37672-91bf-4f6a-aaff-85744ebb610f" } ], "Disabled": true @@ -1291,4 +1311,4 @@ "Formula": "任务版本详情!$B$14" } ] -}//6gdiGRcAerZLRfoL12qr+uUibBHc4GtaImNNG7mzI0ph6SdK49yeCvhOzuYj2s2IVWvXsWXilgsiM77UDHbDY4gfxurYuNNkDCFP9sI0OgGMrnQRPAYrHej8SKi45D2oQa+zToiop3KuHC/yCtvqyDIZTjc9yNGfVgWavFUrKxvBgikwdhx9DRooxv94uh3CEmv69wwX686nCsqagGo4TH6m/FbNuq7c7LekQsycSSYu8Wb4/5euun1J5gptVTYWD5bU6YQLBUhiK36JrMmaRs0XCr26vM3VLpkvU8DDtyOJrQYO2TjcxlmWVLm1FlYkCmflgvZPaaOQNRUn9MBkTyfbR9gjMP2SW69J/kh/QzrHRlkD/lLC2VS/+jHES6l1WmdDz372YaKQYsaxUu2y1qS5yR/CdOdNKWPFND4hQPQZY5u1FHTVzPFfn2KYI6n4/VnmAwo6QP2JmgspJz9RVplwY7Cz3uPP7Em12fNxuherCftDsQpuZ5L5sObvyI0IX+EZRH3xF/mpr/cXFAMXTqxd31UvsN11/84Vku8e12f4JcQmNUsoplXHU23h0S20Lk8GyMBM3GDe6Hrqb9/86ZFm6nju6csJwAb6OmhNXyNxcpwDP6fYl8436355zYcYpPgi+mQy2inVAehSnOatKPL4X92a6mp9/iY37Q9WxIacJ/RKc12WPJlgl8Q9bm1lv2M+ed77/kMTHDxpvANETUUYkc1hI5dCvtw+0ev6K+1VoNzDrYfCn7esqYZP6tuC6mYmuVXv85rYMqXare9xC6nlJQtS9wvRToSYHPww0LsjmLETiZCaoDm989xaxR2f9tmvsaMqPYKdPOn7mRCvM8V3xYM8+14nP+6hSNPac6hhhJSVALqdIufiqhCP7Oj3FO9OassgIQM7LbB/BTqvxA==|920 \ No newline at end of file +}//B3xh6IkCQZWkcb/nii/t/bZwSC8oH1zkRDeZ6GV88z6VeusCkjykqtreaOVG7SQc9e3YdXnFXkvm80uaR2Akc0OUNXDwmDkg0RoExOjTc3axgZA6Thgep1mxKJYw1c1hX3H2IJdVVaBgVGmgrPGj9C8TcVQcb83BgcqLzRmOrlZLk9+LNfHDTi+7xluOxPGsc3kZoTYnTsB1iy7G0szNb5d3AqKezjlgVITok8GJA7yqYPxs4ZcuKH6wEfyvV3bp8jqpjRIpDOHUClv4VMSJ+YPG99sumjxTmkUlZvnkwlBirqgQXzAfKjviDi6cWiRPd+gvecIDQHfDpgBSXKIRHEgqbZxSpPmWjBFEZUjMhifnx6P7touoLwChwPSdVWPsQ23LB2XzKafWGiK55Da2ExkCHe/6EVfHTYzR6OKPy1YUFQ3OODgkrRO7nc2dw+NgT5Ihpf+htdfsj5AlEKdzLTS4IRdxk2St11KjwT4hl52vd5LugB3NPchIcgg/TwXmQ1KoLva4ZSStvnjFwTgGMhBAc2liLRLP2w9InuMIP9yUCS+Q1JV0YJe/HMpQCS/iGEpvxePxv8XS9LlkcRKn1+rYLZvDqAYJGO+ZYirKyvwbThIbGXuI94xlRlVzVoqYnnnygKJWR+MkKOS/wefY/fmM/9ufv0okXTrYW3SjXAUaAxUJtw6Vb/KgKOY08sYye0564lfeGlhKlU6fLByhN9zS2OVHys6yWMfetM9AkYRl4i1YvdGKnSzMXWN9mxa5KGItj8mohTLRr4lYXKWwppWsJz3v9KSODqqJi2jfCgT8/qW3hxmc5HqqxuWM6GVKygjoKrfFOb16WhyIMtVFMcf8KPBwlPZGjJ4G2YBr1+8PQeh93qkX1zP1KzLyVCgKIcjYY24MBRwu8f4bk6YrlA==|920 \ No newline at end of file diff --git a/Plugin/豪~豪插件合集-7_0_102_0.zip b/Plugin/豪~豪插件合集-7_0_102_0.zip new file mode 100644 index 00000000..76aa5d8a Binary files /dev/null and b/Plugin/豪~豪插件合集-7_0_102_0.zip differ diff --git a/ServerCommands/Gitee/GitCallback.json b/ServerCommands/Gitee/GitCallback.json index 358e3306..2032633d 100644 --- a/ServerCommands/Gitee/GitCallback.json +++ b/ServerCommands/Gitee/GitCallback.json @@ -53,366 +53,204 @@ }, "CommandList": [ { - "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", - "JsonString": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.message" - }, - "SampleJson": "{\r\n \"Message\": \"新增WebHook的订阅\",\r\n \"MessageType\": 2,\r\n \"Modules\": [\r\n {\r\n \"State\": 3,\r\n \"Type\": 15,\r\n \"Name\": \"ServerCommand/创建一个仓库WebHook\"\r\n }\r\n ],\r\n \"Version\": \"v1\"\r\n}", - "ToParameter": "message" - }, - { - "$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": "=message.MessageType" - } + "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "CommandList": [ + { + "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", + "JsonString": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.head_commit.message" }, - "value": "2" + "SampleJson": "{\r\n \"Message\": \"新增WebHook的订阅\",\r\n \"MessageType\": 2,\r\n \"Modules\": [\r\n {\r\n \"State\": 3,\r\n \"Type\": 15,\r\n \"Name\": \"ServerCommand/创建一个仓库WebHook\"\r\n }\r\n ],\r\n \"Version\": \"v1\"\r\n}", + "ToParameter": "message" }, - "CommandList": [ - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "Git_事件记录", - "UpdateType": "add", - "ShowConfirm": false, - "UpdateBindingValues": [ - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "事件名称", - "GUID": "efbbf095-19cd-4dae-92ec-a0f26a2efbcd" - }, - "Value": "签入工程" - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "hook_id", - "GUID": "21366caf-c74c-4981-a013-6a7a67f6477d" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.hook_id" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "事件内容", - "GUID": "c854b847-0492-418f-b8ff-ec205e556c75" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=message.Message" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "空间路径", - "GUID": "4982e365-0843-42f7-aff4-1aff311903fd" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.namespace" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "仓库名称", - "GUID": "c4d72e32-e0a7-4857-8cb1-df2f89597883" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.name" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "仓库路径", - "GUID": "e12eb196-adc5-4aeb-95bc-c2f7d6eedbec" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.path" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "url", - "GUID": "4c3e3d4f-2dd9-4e3a-a49f-d90d31a16a7b" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.url" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "提交人", - "GUID": "347d5182-7b19-4a6f-8e5d-fc4612078592" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.committer.name" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "git用户名", - "GUID": "527d6e11-d777-454e-9677-3ec7fadb6a0f" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.committer.username" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "仓库ID", - "GUID": "cf208007-6e12-4fd0-8cf5-fe0f4f1b3632" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.id" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "日期", - "GUID": "38c80d5e-0881-40ed-811f-d45eb2a521ce" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.committer.timestamp" - } - } - ] - }, - { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": "0", - "Message": "签入已被记录" - } - ], - "ID": "b9cf1980-a636-4a10-a6f5-e53f0711f9db" - }, - { - "CommandList": [ - { - "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", - "ParameterName": "今日记录", - "TableValue": { - "TableName": "Git_事件记录", - "TableValueType": 3, - "SqlCondition": { - "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", - "SubConditions": [ - { - "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", - "ColumnBindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "仓库ID", - "GUID": "715f1edb-652c-46e3-b189-4c8bd44cf1d1" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.id" - } - }, - { - "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", - "ColumnBindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "git用户名", - "GUID": "4410e001-f94f-43ee-8ae0-b8a789a71786" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.committer.username" - } - }, - { - "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", - "ColumnBindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "FGC_CreateDate", - "GUID": "1f8b096d-adc6-4715-ab1e-2919781aca6b" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=TODAY()" - } + { + "$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": "=message.MessageType" } - ] - } - }, - "ID": "7a9485e728ea41d3b1481daa62b7036b", - "Disabled": 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": "=今日记录" - } - }, - "value": "0" }, - "CommandList": [ - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "Git_事件记录", - "UpdateType": "add", - "ShowConfirm": false, - "UpdateBindingValues": [ - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "事件名称", - "GUID": "0e6e01aa-5695-4e80-ac62-9e64cf34a86c" - }, - "Value": "签出模块" + "value": "2" + }, + "CommandList": [ + { + "$type": "GETPOST.正则类.正则_校验, GETPOST", + "JieShouMsg": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=message.Message" + }, + "JieShouMsg2": "^(.{0,3}|[^\\u4e00-\\u9fa5]*)$", + "FanHuiMsg": "内容有效性" + }, + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "内容得分", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=IF(内容有效性,0,LEN(message.Message))" + }, + "ID": "7501e93f1fca4186be97273c76c90e00" + }, + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "Git_事件记录", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "事件名称", + "GUID": "9afba933-59bd-417b-a5e6-d4784e58129b" }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "hook_id", - "GUID": "dcf94894-2c9e-418e-966c-4f1e23906f71" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.hook_id" - } + "Value": "签入工程" + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "hook_id", + "GUID": "ee135ea2-1c69-4319-b43e-d73a3030788c" }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "事件内容", - "GUID": "30f62c72-9b5b-468e-8913-dc78bfac2738" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=SUBSTITUTE(message.Message,\"签出模块 : \",\"\")" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "空间路径", - "GUID": "d97f0ab6-fad1-4d96-b62f-aa4f65cc42e4" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.namespace" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "仓库名称", - "GUID": "15b9e3d3-cb05-475b-988f-e59667daa4c8" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.name" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "仓库路径", - "GUID": "5dd5f4c1-9a4a-4308-a1d2-437ad831b120" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.path" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "url", - "GUID": "2f2a853b-0673-4a3b-b18c-d10b1ba53b40" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.url" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "提交人", - "GUID": "c0f7d5f9-d752-413e-b346-476b1c544f9d" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.committer.name" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "git用户名", - "GUID": "8c8e0a31-8990-4a0b-9b8c-94d084cb6681" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.head_commit.committer.username" - } - }, - { - "BindingInfo": { - "TableName": "Git_事件记录", - "ColumnName": "仓库ID", - "GUID": "e71e0310-04a8-4a38-886d-c297c63044e1" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=钩子数据.repository.id" - } + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.hook_id" } - ] - } - ], - "ID": "12489899-d76f-4750-b786-fc6d7473bd14" - } - ], - "Disabled": true - }, - { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": "0", - "Message": "忽略非签入事件" - } - ], - "ID": "2e4c36df-ab04-47b2-aa99-bb1085ff5228" - } - ] + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "事件内容", + "GUID": "8c9d1dd9-5944-4b8a-a4ea-2c6dd0e9b07a" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=message.Message" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "空间路径", + "GUID": "4b6980cb-c9cd-47dd-8763-9fd15f428d39" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.repository.namespace" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "仓库名称", + "GUID": "28cc2340-020e-48ae-9706-50352688bfe0" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.repository.name" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "仓库路径", + "GUID": "ae427cf3-11ab-4792-970c-891778bb9814" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.repository.path" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "url", + "GUID": "58dd6560-f46c-45ff-ab83-cade1f943f80" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.head_commit.url" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "提交人", + "GUID": "5bc56c0b-134d-4773-97e2-9080b03fefb9" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.head_commit.committer.name" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "git用户名", + "GUID": "73c38ad6-6238-44a8-8d27-3e8fe40ac0bd" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.head_commit.committer.username" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "仓库ID", + "GUID": "b7da3bc8-c9fe-4c9a-b4aa-27b09b8fa01f" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.repository.id" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "日期", + "GUID": "9c5e506f-7326-47e9-bdec-73351267bcec" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=钩子数据.head_commit.committer.timestamp" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "内容得分", + "GUID": "11ccd64d-5b65-41c4-8d9e-79ac19c3dce5" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=IF(内容得分>100,100,内容得分)" + } + } + ] + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "签入已被记录" + } + ], + "ID": "9e5fb441-085e-45ec-855d-67a76a9c166b" + } + ] + } + ] + } } ], - "ID": "635f8496-5932-492c-80b8-2ac48a2a04a1" + "ID": "da7e3056-66c4-4dbe-a7bb-b022b5338fc5" } ] } diff --git a/ServerCommands/Gitee/仓库的所有提交.json b/ServerCommands/Gitee/仓库的所有提交.json new file mode 100644 index 00000000..d7a15c01 --- /dev/null +++ b/ServerCommands/Gitee/仓库的所有提交.json @@ -0,0 +1,665 @@ +{ + "Name": "仓库的所有提交", + "Enabled": true, + "Triggers": [ + { + "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", + "Permission": { + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": [ + "FGC_LoginUser" + ] + } + ] + } + }, + "Parameters": [ + { + "Name": "仓库ID", + "DataValidationInfo": { + "IgnoreBlank": false + }, + "TestData": "33487312" + } + ], + "InvokeTriggerTestData": { + "UserName": "Administrator" + } + } + ], + "Commands": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "仓库", + "TableValue": { + "TableName": "Git仓库表", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "8f4d7549-7487-4a00-9fb0-586c48ffbcaa", + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "空间路径名", + "GUID": "303470ed-af95-4a8a-a4e2-78e6a04e8f4a" + }, + "ColumnName": "空间路径名" + }, + { + "GUID": "78335c18-7116-45a6-a3a2-e140c8f61037", + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "仓库路径名", + "GUID": "11780eee-0063-4da7-8149-a3ee91c46750" + }, + "ColumnName": "仓库路径名" + }, + { + "GUID": "079ef811-1664-4327-94e5-8a626b4c2631", + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "仓库名称", + "GUID": "1801c9d6-dbe4-4071-8be0-8e647932db97" + }, + "ColumnName": "仓库名称" + }, + { + "GUID": "e12536e1-bd52-46f0-81ab-24ec30a721b4", + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "拉取人员", + "GUID": "1e47126d-9b27-4586-9e85-617839459cf1" + }, + "ColumnName": "拉取人员" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "仓库ID", + "GUID": "c667efb2-7b6d-44ae-8928-4519c6ebb1b4" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=仓库ID" + } + }, + "NullFormulaValueQueryPolicy": 0, + "TopCount": "1" + }, + "ID": "aa09a0e53fae4352bd9800656a20885c" + }, + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "同步数量", + "ParameterValue": "0", + "ID": "8574363f8b0947b1b03cc76a1b444538" + }, + { + "$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": "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.ServerTransactionCommand, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "Git_事件记录", + "UpdateType": "delete", + "ShowConfirm": true, + "ConfirmText": "您确定要删除吗?", + "RowsToUpdate": 1, + "RowsToUpdateCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "仓库ID", + "GUID": "d46aca3e-0976-4831-b6f7-a986360290d0" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=仓库ID" + } + }, + "Disabled": true + }, + { + "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", + "LoopInfo": { + "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", + "LoopCount": "100", + "LoopIndexParamName": "循环次数", + "LoopItemParamName": "当前循环" + }, + "CommandList": [ + { + "$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": "author", + "DataItemType": 0 + }, + { + "Name": "since", + "DataItemType": 0 + }, + { + "Name": "until", + "DataItemType": 0 + }, + { + "Name": "page", + "DataItemType": 0, + "Data": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=循环次数" + } + }, + { + "Name": "per_page", + "DataItemType": 0, + "Data": 100 + } + ] + } + }, + "WebUrl": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"https://gitee.com/api/v5/repos/\"&仓库.空间路径名&\"/\"&仓库.仓库路径名&\"/commits\"" + }, + "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.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", + "SubConditions": [ + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=result" + } + }, + "value": "%Null%" + }, + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=result.Count" + } + }, + "value": "0" + } + ], + "RelationType": 1 + }, + "CommandList": [ + { + "$type": "Forguncy.Model.EndLoopCommand, ServerDesignerCommon" + } + ], + "ID": "31cf0db6-8318-48eb-b794-4613262c34b8" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", + "LoopInfo": { + "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", + "LoopCount": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=result" + }, + "LoopItemParamName": "Item" + }, + "CommandList": [ + { + "$type": "SaveFormData.fillInJSONProperties, SaveFormData", + "FullJsonString": "{\r\n \"sha\": \"\",\r\n \"html_url\": \"\",\r\n \"commit\": \"\",\r\n \"committer\": \"\",\r\n \"author\": \"\"\r\n}", + "SourceJson": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=Item" + }, + "ResultTo": "完整ITEM" + }, + { + "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "CommandList": [ + { + "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", + "JsonString": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=完整ITEM.commit.message" + }, + "SampleJson": "{\r\n \"Message\": \"签出模块 : 项目反馈\",\r\n \"MessageType\": 1,\r\n \"Modules\": [],\r\n \"Version\": \"v1\"\r\n}", + "ToParameter": "message" + }, + { + "$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": "=message.MessageType" + } + }, + "value": "2" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "是否存在", + "TableValue": { + "TableName": "Git_事件记录", + "TableValueType": 3, + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "sha", + "GUID": "498d425b-39c3-4495-bd17-9282b73c4cb9" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=完整ITEM.sha" + } + }, + "NullFormulaValueQueryPolicy": 0 + }, + "ID": "45e81d40576547d38f566575cc1945dd" + }, + { + "$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": "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": "=完整ITEM.committer" + } + }, + "value": "%Null%", + "compareType": 1 + }, + "CommandList": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "同步数量", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=同步数量+result.Count" + }, + "ID": "0bfba15e31c94c6da7557d24eb34bc5c" + }, + { + "$type": "GETPOST.正则类.正则_校验, GETPOST", + "JieShouMsg": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=message.Message" + }, + "JieShouMsg2": "^(.{0,3}|[^\\u4e00-\\u9fa5]*)$", + "FanHuiMsg": "内容有效性" + }, + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "内容得分", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=IF(内容有效性,0,LEN(message.Message))" + }, + "ID": "fa3c335eefc041dea44953f44a0cc564" + }, + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "Git_事件记录", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "仓库ID", + "GUID": "29fd0f4a-79ab-4749-a00b-cc43845c8b1b" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=仓库ID" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "事件名称", + "GUID": "c0f644a0-7341-4da5-8eea-a212b7480746" + }, + "Value": "签入工程" + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "空间路径", + "GUID": "9a162257-8e3f-4424-9ebd-a74280e5588d" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=仓库.空间路径名" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "仓库名称", + "GUID": "5659bd30-a3ee-4f21-bef5-7c1c73deea93" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=仓库.仓库名称" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "仓库路径", + "GUID": "931058ab-e2c3-4027-8e03-5d510ced8f59" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=仓库.仓库路径名" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "提交人", + "GUID": "a3e85491-4dfd-4751-ba69-597d07a65325" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=完整ITEM.committer.name" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "事件内容", + "GUID": "23d5edb5-22e0-4ec2-a1ae-b213c741a11e" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=message.Message" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "url", + "GUID": "af529219-2930-48b7-9998-b355efd9324f" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=完整ITEM.html_url" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "git用户名", + "GUID": "2072a5e6-8560-4a25-bcfb-dcbfc5b97c6f" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=完整ITEM.committer.login" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "日期", + "GUID": "bf07eff9-44a7-4071-a77c-196540aba841" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=完整ITEM.commit.committer.date" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "内容得分", + "GUID": "d6e3b1b1-ac73-4f98-90b5-cfe93bd2bd9e" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=IF(内容得分>100,100,内容得分)" + } + }, + { + "BindingInfo": { + "TableName": "Git_事件记录", + "ColumnName": "sha", + "GUID": "cef6c904-210b-4d8d-8cc8-ed0dd2d0ee4f" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=完整ITEM.sha" + } + } + ] + } + ], + "ID": "84392999-3ede-435f-8c71-abc85e74a957" + } + ] + } + ], + "ID": "1a9a0057-8c1a-45c2-9c05-d6ba5f18e0b6" + } + ] + } + ], + "ID": "59d665c4-7194-4248-8904-36ca4172ead4" + } + ] + } + ] + } + } + ] + } + ], + "ID": "ab37c621-ff56-4021-91fe-e20aa48acd36" + } + ] + } + ] + }, + "CatchCommandPart": { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionCode" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + } + } + ] + } + } + ] + } + ] + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"已为您成功同步\"&同步数量&\"条记录\"" + } + } + ], + "ID": "da849c8a-d0b6-4bda-9516-82bb9daa4a97" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=code" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=msg" + } + } + ], + "ID": "d0d88285-4f8f-4076-851c-5a8216f1a9ca" + } + ] + } + ], + "ID": "fcaba8db-0b61-4416-90c2-3ad2b36c4386" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "仓库不存在或尚未同步到系统" + } + ], + "ID": "37da7f50-4333-451c-b40c-e9197f3250ac" + } + ] + } + ] +} \ No newline at end of file diff --git a/ServerCommands/Gitee/同步一个仓库到表.json b/ServerCommands/Gitee/同步一个仓库到表.json index b75294ad..d4f93efb 100644 --- a/ServerCommands/Gitee/同步一个仓库到表.json +++ b/ServerCommands/Gitee/同步一个仓库到表.json @@ -66,6 +66,10 @@ { "Name": "api_url", "DataValidationInfo": {} + }, + { + "Name": "默认分支", + "DataValidationInfo": {} } ] } @@ -84,7 +88,7 @@ "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "当前用户", "ParameterValue": "%CurrentUser%", - "ID": "54d3c5b327f8449babca7b5f296cea3a" + "ID": "f738695b16964509a000739e1d871902" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", @@ -149,7 +153,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库ID", - "GUID": "f278f2b3-b446-4dae-8aef-0201ead82b16" + "GUID": "01d07583-5eb6-405f-b484-29a8d7106f5a" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -160,7 +164,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "空间路径名", - "GUID": "8ad70fdd-f628-4030-9a80-bc9b2e911329" + "GUID": "7f004ded-49f9-49ce-aaed-9068c13ce993" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -171,7 +175,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "空间名称", - "GUID": "d2d34e3b-f666-4a7e-ad09-1d9a1fd0f6a8" + "GUID": "4a5fcc35-c665-48d1-83f1-28c63a734fe9" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -182,7 +186,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库路径名", - "GUID": "4bf7ed6b-2f33-492d-94ea-ac19ab5dc207" + "GUID": "f0441eff-3746-44c5-942f-1faa63881cd3" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -193,7 +197,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库名称", - "GUID": "8c5a8472-cbd9-4a38-afae-1d6ef8da5d55" + "GUID": "17792e75-3eb5-4f6d-8eea-7bcac52935eb" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -204,7 +208,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库地址", - "GUID": "e4a356de-ea3d-4a10-8161-60c670b4dcea" + "GUID": "e43337e6-136b-4973-a4c8-2da5df10b62c" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -215,7 +219,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库描述", - "GUID": "77c1c3f2-00b3-4835-b033-053fc6b582f5" + "GUID": "3fc25384-f0f3-40ed-95fd-a3642a72d4d1" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -226,7 +230,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库成员", - "GUID": "929f6163-3e04-4ba3-a7d8-37edea5eaf44" + "GUID": "5e2f02ce-30e4-4fdd-8c07-9d0fa86a8e16" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -237,7 +241,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "创建人", - "GUID": "cfd7fd47-c234-452a-9db4-23be15c5044c" + "GUID": "3ae9fe6a-fbe5-4cc4-b0f4-7359c4884e9a" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -248,7 +252,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "创建人头像", - "GUID": "8e758f6d-51fb-48ce-bd4c-210c3fe6f7e6" + "GUID": "d4fe3175-f107-442e-82a1-d08b4083cf2b" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -259,7 +263,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "Callback_url", - "GUID": "bbe9ea3b-e2a0-4f87-a2ca-70e7e12c1969" + "GUID": "6fe0d807-fe6f-457e-8ed8-26a9b11e28ae" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -270,7 +274,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "hook_api_url", - "GUID": "82935348-3056-4b67-9e5b-c42913b609d8" + "GUID": "e5897052-f6e0-405b-9689-91d47fc17020" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -281,14 +285,36 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "订阅成功", - "GUID": "202213a3-5f8f-41ac-a09b-8092bec46042" + "GUID": "fecb5c5e-7f64-41f2-8233-1950f0e42b55" }, "Value": "0" + }, + { + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "默认分支", + "GUID": "3b464c6f-277b-4666-998c-ee88dfebc54b" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=默认分支" + } + }, + { + "BindingInfo": { + "TableName": "Git仓库表", + "ColumnName": "拉取人员", + "GUID": "89afc82d-2392-444e-a70b-5b3120f0198c" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=当前用户" + } } ] } ], - "ID": "a807f4c6-100b-472a-95dd-2e5945c7ecff" + "ID": "f2219372-6caa-4d35-8a38-afc4dc0f5910" }, { "CommandList": [ @@ -314,7 +340,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "空间路径名", - "GUID": "852038c2-f6f6-4b56-9ba7-d305743e8aaa" + "GUID": "041ebae7-da1f-43df-a747-66f663ec5585" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -325,7 +351,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "空间名称", - "GUID": "32994d59-895e-4a91-84b5-11004ba09778" + "GUID": "8acc8c3b-e022-42ef-9450-abacf3fcd0d2" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -336,7 +362,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库路径名", - "GUID": "aeb5e23f-ba60-4482-96c0-6776d18d1bb5" + "GUID": "2cc89fea-2197-4cf0-8502-b11dca95f55f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -347,7 +373,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库名称", - "GUID": "2fa19715-8877-47d7-9960-05d233f18f9c" + "GUID": "2838661d-8f4f-45dd-91ca-abd1b1372585" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -358,7 +384,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库地址", - "GUID": "08d3b064-5361-4f0c-911e-d8fa7fe2ef8d" + "GUID": "2e5df0c6-8d60-4c7a-a587-69dede5444cb" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -369,7 +395,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库描述", - "GUID": "bbeba002-5222-40f2-8497-09101ba4e5d8" + "GUID": "053d8b3b-ee50-4fda-a985-84268d9cd2df" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -380,7 +406,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "仓库成员", - "GUID": "6866c39a-6ce2-4eea-809b-7498fb3f8b56" + "GUID": "c731ebd0-c516-4da9-b143-6399697db393" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -391,7 +417,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "创建人", - "GUID": "4ae75e1b-a21e-465d-ab2b-e0678f8fe835" + "GUID": "cba933c6-5a47-43f3-ae1e-331f9b72a0d7" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -402,7 +428,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "创建人头像", - "GUID": "59760498-30b8-4d54-a0cf-b4b8095bfb79" + "GUID": "697c21b2-2f18-41f2-bbc3-730719276295" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -413,7 +439,7 @@ "BindingInfo": { "TableName": "Git仓库表", "ColumnName": "hook_api_url", - "GUID": "17d7407b-7b1e-42c1-91df-db0dfaa22717" + "GUID": "89a225d4-5f79-47fd-934c-b146e56ca3ba" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -423,7 +449,7 @@ ] } ], - "ID": "72407f25-0b64-4d48-9d81-046afe8ec1e1" + "ID": "0d06a0ec-6d11-4ef0-ab44-f97b66ba8fd0" } ] } @@ -506,7 +532,7 @@ "Message": "仓库创建并订阅成功!" } ], - "ID": "20254a52-621f-403a-837c-282f2ebd98fa" + "ID": "e5858e08-dc3a-4622-b0b6-946e3b4ed651" }, { "CommandList": [ @@ -519,12 +545,12 @@ } } ], - "ID": "8ca6caf7-69f3-4117-986e-5ab47308dad9" + "ID": "3357590c-b1ac-4091-b867-0081805d116a" } ] } ], - "ID": "f3f1ed3c-07e5-477d-b11c-40ab7f9b074c" + "ID": "0bcc31c4-1c00-4e1a-85fe-0d0f76c26919" }, { "CommandList": [ @@ -534,7 +560,7 @@ "Message": "仓库创建成功!" } ], - "ID": "50f342ef-01b8-41f2-8fca-977e82a25f1c" + "ID": "b15e279b-7f41-4fd2-b323-c2d5b6e73806" } ] } diff --git a/Tables/Git/Git_事件记录.json b/Tables/Git/Git_事件记录.json index 4d191e28..a9b6cd8f 100644 --- a/Tables/Git/Git_事件记录.json +++ b/Tables/Git/Git_事件记录.json @@ -82,6 +82,13 @@ "Name": "git用户名", "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": "内容得分", + "ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + }, { "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", "DatabaseColumnType": "datetime", @@ -89,6 +96,13 @@ "Name": "日期", "ColumnType": "System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" }, + { + "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", + "DatabaseColumnType": "nvarchar", + "MaxLength": -1, + "Name": "sha", + "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + }, { "$type": "Forguncy.SaveLoad.StatisticColumnSaveData, ServerDesignerCommon", "BindingInfo": { diff --git a/Tables/Git/Git仓库表.json b/Tables/Git/Git仓库表.json index 28912e71..41dced7d 100644 --- a/Tables/Git/Git仓库表.json +++ b/Tables/Git/Git仓库表.json @@ -67,6 +67,13 @@ "Name": "仓库成员", "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" }, + { + "$type": "Forguncy.SaveLoad.UserBindingColumnSaveData, ServerDesignerCommon", + "DatabaseColumnType": "nvarchar", + "MaxLength": -1, + "Name": "拉取人员", + "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + }, { "$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon", "DatabaseColumnType": "nvarchar", diff --git a/UserControlPages/Git仓库卡片.json b/UserControlPages/Git仓库卡片.json index ea8add0f..6f106175 100644 --- a/UserControlPages/Git仓库卡片.json +++ b/UserControlPages/Git仓库卡片.json @@ -460,12 +460,12 @@ ] } ], - "ID": "578a625a-20c5-4572-809f-40b03fb3c170" + "ID": "22e1066d-42b2-4ee8-9a2e-0ebdedcaf6e8" } ] } ], - "ID": "9115451e-c205-4bc5-b560-3cb132fa0cfe" + "ID": "d2956381-c32d-49c4-94c4-c32fad324bea" } ] } @@ -536,6 +536,9 @@ "PageInfo": { "$type": "Forguncy.Model.Pages.UserControlPage, ServerDesignerCommon", "PropertyDefinitions": [ + { + "Name": "仓库ID" + }, { "Name": "创建人头像" }, @@ -568,10 +571,11 @@ "Name": "hook_api_url" }, { - "Name": "仓库ID" + "Name": "空间路径名" }, { - "Name": "空间路径名" + "Name": "默认分支", + "DefaultValue": "master" }, { "Name": "按钮文字", @@ -642,7 +646,7 @@ ] } ], - "ID": "ee1d5e96-9529-48c1-add1-fc38dd1bb142" + "ID": "2a603f11-769d-4624-987c-26683576623a" }, { "CommandList": [ @@ -666,7 +670,7 @@ ] } ], - "ID": "e61590a7-5159-4a1a-9f43-559549150753" + "ID": "44745014-7771-4df8-a80f-03e77d619e93" } ] } @@ -727,7 +731,7 @@ ] } ], - "ID": "52d7b30c-9177-43e8-a62b-09b7f5eb0db0" + "ID": "5f799e0a-dc73-4b9e-ac8c-68c073bdc001" }, { "CommandList": [ @@ -751,7 +755,7 @@ ] } ], - "ID": "846568b8-fb62-47ff-ad54-df0f6b865bd9" + "ID": "790865df-6ab1-453f-89c6-2ebdcf157a0c" } ] } @@ -811,4 +815,4 @@ "BoxShadowString": "3 3 0 7 #04000000" } ] -}//PQFMOfdCtW6T09dQm46T7MDTvNBg40zhWWHzHbM0I95cLw8UuMEMxgH7WgEaA7jCaKLxJm7+YPKpj3HhseiueHOfBSaWm06WjmfKU44b4LoItpzuAgPXAXuYjYHy+TpqOQ/xLpqmeqeilhqR9kAWTD69MfwzsLzHsBvqUxaQx8TraQdCWgpe3RC4E4/fI20e/09b6WsB3GpoPlrvEbjvfAvFcjq6Y3CwAsjMttv6TAJYu3c20jPU1Y3GbdmwawpUH0fSSth8uq3cgRa9ynl8vr4yA439+lBqMU6rnFoNUhCPbp8FkSSXT9jcQHJtaoCxVGmZm1I2FTURctqnsRJdIWTuLdSYecaG3Q0O8I+6Cqz5Vtz0dpCB4zltb2TZd+xFtQAHLaVwRsXMUceFzYctNeAtiisuoucj6dOHPXmiZ5b5jVD4G4G3yrQZX2nNJ8t2GpqDzWLY9PClDBAup65rqc/8EZbzr5SCFumCZ9NPMEv8lXuN9/TBTl2NpFnV/nvmFC/l+yQsOOHzO+e7+D7SFLERlA/YC3IYnFpNK1BeHnWn4BMVXIftbWdRxN9+Z3ut5h5oKNTnPUpu9/fcLRELHXdfkjgH/CmhsfQtCVm2UxEnAC/7ZD8cthbXrZNhFAaOvGoIaumLLx/C+YViCdheynzkTO9CLuq6s+OQ6lx7O1f2pt/F/ldqjdpXv3LPqvBY9/xxsmIE8el8LvLd17ILkLj3lWXMCQjFwWUq0Pyo7cs1Hmu0ozzM1EegV94zi8Maw+N+4uWK87tQ/MEiHcP3NmzcisyrFLcMSFzHRHd6bEyEbK0P8WRN2SRninHmGEz+SJgHS8Uu6Y8FO/DWlkQ8PA5Mxz9sZvSp8CMbN376p2lM8JcWHiwZrFEHV1lxoOj3emCLB8vxb3mbpWUcZFhjog==|920 \ No newline at end of file +}//b5CZ/sM/Vx/to/n9AUYxS5deW/zqJtOXOPaTdgOdYRqQGQzgltSXkY8uV4JQ/ky9HTJi2DQF0fs/L8EMm+0tDkmk41O2GsP2LcfoQXYiwciFYwyoemgKbZtsHmy+xpMfFo5JjnsKiZnmq52cXW0LDaMMuc1ETFp3ao9N8ZGBph8LY5opB/UjkXx2tkVG6OuDEahSjORmG9zcFQz3D4N/wjgOTPzaf56qbuyiUeVeFDGNiR75YbS9fqCNh6Ku0KIQQXilrWbAsHnujBzZmmIt/aFqqd68SEUfdYroQzix5jp1VGJLJ9WAWZMIxiI9cCxfHRhmu3u37oKnV9+WPHmRdA41Gtbm1rPksNORNv/aXI/75yU4HrhpLzOQDDVEScjjaCB814uOayWzg3RMXEqJ9a4Xv/eP5pvTFEhHIOt/XmBi+oEqUc/y0xzSZxBptBZizHVeHOp3TejdsjojBBgOlHAmd089672QkibW5ciYATlyXSFSyyZct/TdRDrMh+6a8Nhdj6XrV6cFxVyyOJXBWAPJJ9i24+tfPYyv/zMGD0v5/yU3xzW13mrKydjAtLffCvS9yEv3tek6586Z/RtIvqMGraKuWzqVk+t5/ihXpJsnFECrduL2Vr6/bM4FNh5eyGSZtlrH1t5NSmE/GBfTyakhgg3E9ZTIY4h6Kjg5zkW3lJAx7TFsNT5BI4IozmSWOlXogHHiMxMJP67wLq2OKZAVDUddffe5uNj+KXmilI1MhWkyJTdjsOFUTbD2cDjSughCbNorbgkS6CUBtaP50AINlM3muljW9V74IVTTpKiewE1kPSYoUNhh0Pctu77wgIuX6XdUnTBFf8pLpLvg2dJYn9faoGk1CwhTr2ty7l/2fc7eA+BcspN3Zh9Hl7kOtgRMwlBV6RSNO26EifFaLA==|920 \ No newline at end of file