{ "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", "Name": "GitCallback", "Enabled": true, "Triggers": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", "Permission": { "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", "PermissionData": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", "permissionResource": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" }, "permissionBindings": { "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", "roleNames": { "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$values": [ "FGC_Anonymous" ] } } ] } } }, "InvokeTriggerTestData": { "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", "UserName": "Administrator" } } ] }, "Commands": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "SaveFormData.GetFormDataFiles, SaveFormData", "ResultToReq": "请求信息", "BreakpointIdentity": "960ef583-6c7b-4d29-afdd-be70dc477f30" }, { "$type": "SaveFormData.fillInJSONProperties, SaveFormData", "FullJsonString": "{\r\n \"ref\": \"refs/heads/版本10\",\r\n \"sign\": \"\",\r\n \"user\": {\r\n \"id\": 13097545,\r\n \"url\": \"https://gitee.com/tyfeikele\",\r\n \"name\": \"tyfeikele\",\r\n \"email\": \"tyfeikele@qq.com\",\r\n \"username\": \"tyfeikele\",\r\n \"user_name\": \"tyfeikele\"\r\n },\r\n \"after\": \"e74df3005e06241146220c1c78b746b1cb903e9d\",\r\n \"before\": \"bce508cc4c7574d8974a6e94a832c639ad07af99\",\r\n \"pusher\": {\r\n \"id\": 13097545,\r\n \"url\": \"https://gitee.com/tyfeikele\",\r\n \"name\": \"tyfeikele\",\r\n \"email\": \"tyfeikele@qq.com\",\r\n \"username\": \"tyfeikele\",\r\n \"user_name\": \"tyfeikele\"\r\n },\r\n \"sender\": {\r\n \"id\": 13097545,\r\n \"url\": \"https://gitee.com/tyfeikele\",\r\n \"name\": \"tyfeikele\",\r\n \"type\": \"User\",\r\n \"email\": \"tyfeikele@qq.com\",\r\n \"login\": \"tyfeikele\",\r\n \"remark\": null,\r\n \"html_url\": \"https://gitee.com/tyfeikele\",\r\n \"username\": \"tyfeikele\",\r\n \"user_name\": \"tyfeikele\",\r\n \"avatar_url\": \"https://foruda.gitee.com/avatar/1687145611305567010/13097545_tyfeikele_1687145611.png\",\r\n \"site_admin\": false\r\n },\r\n \"commits\": [\r\n {\r\n \"id\": \"e74df3005e06241146220c1c78b746b1cb903e9d\",\r\n \"url\": \"https://gitee.com/cuckooent/pms/commit/e74df3005e06241146220c1c78b746b1cb903e9d\",\r\n \"added\": [\r\n \r\n ],\r\n \"author\": {\r\n \"id\": null,\r\n \"url\": null,\r\n \"name\": \"HZG System\",\r\n \"time\": \"2024-06-18T09:38:19+08:00\",\r\n \"user\": null,\r\n \"email\": \"HZG System\",\r\n \"remark\": null,\r\n \"username\": null,\r\n \"user_name\": null\r\n },\r\n \"message\": \"{\\\"Message\\\":\\\"签出模块 : 后端新增项目反馈, 匿名提交项目反馈\\\",\\\"MessageType\\\":1,\\\"Modules\\\":[],\\\"Version\\\":\\\"v1\\\"}\\n\",\r\n \"removed\": [\r\n \r\n ],\r\n \"tree_id\": \"57f89455bbd615902d2a41732205a659beec7dc4\",\r\n \"distinct\": true,\r\n \"modified\": [\r\n \".collaboration\"\r\n ],\r\n \"committer\": {\r\n \"id\": null,\r\n \"url\": null,\r\n \"name\": \"HZG System\",\r\n \"time\": null,\r\n \"user\": null,\r\n \"email\": \"HZG System\",\r\n \"remark\": null,\r\n \"username\": null,\r\n \"user_name\": null\r\n },\r\n \"timestamp\": \"2024-06-18T09:38:19+08:00\",\r\n \"parent_ids\": [\r\n \"bce508cc4c7574d8974a6e94a832c639ad07af99\"\r\n ]\r\n }\r\n ],\r\n \"compare\": \"https://gitee.com/cuckooent/pms/compare/bce508cc4c7574d8974a6e94a832c639ad07af99...e74df3005e06241146220c1c78b746b1cb903e9d\",\r\n \"created\": false,\r\n \"deleted\": false,\r\n \"hook_id\": 1400568,\r\n \"project\": {\r\n \"id\": 33487312,\r\n \"url\": \"https://gitee.com/cuckooent/pms\",\r\n \"fork\": false,\r\n \"name\": \"PMS\",\r\n \"path\": \"pms\",\r\n \"owner\": {\r\n \"id\": 5267986,\r\n \"url\": \"https://gitee.com/cuckooent\",\r\n \"name\": \"超哥\",\r\n \"type\": \"User\",\r\n \"email\": \"phoben@qq.com\",\r\n \"login\": \"cuckooent\",\r\n \"remark\": null,\r\n \"html_url\": \"https://gitee.com/cuckooent\",\r\n \"username\": \"cuckooent\",\r\n \"user_name\": \"cuckooent\",\r\n \"avatar_url\": \"https://foruda.gitee.com/avatar/1677043949039184563/5267986_cuckooent_1646218684.png\",\r\n \"site_admin\": false\r\n },\r\n \"git_url\": \"git://gitee.com/cuckooent/pms.git\",\r\n \"license\": null,\r\n \"private\": true,\r\n \"ssh_url\": \"git@gitee.com:cuckooent/pms.git\",\r\n \"svn_url\": \"svn://gitee.com/cuckooent/pms\",\r\n \"has_wiki\": true,\r\n \"homepage\": null,\r\n \"html_url\": \"https://gitee.com/cuckooent/pms\",\r\n \"language\": \"C#\",\r\n \"clone_url\": \"https://gitee.com/cuckooent/pms.git\",\r\n \"full_name\": \"cuckooent/pms\",\r\n \"has_pages\": false,\r\n \"namespace\": \"cuckooent\",\r\n \"pushed_at\": \"2024-06-18T09:38:20+08:00\",\r\n \"created_at\": \"2024-02-29T22:11:29+08:00\",\r\n \"has_issues\": true,\r\n \"updated_at\": \"2024-06-18T09:38:20+08:00\",\r\n \"description\": \"新的PMS软件开发项目管理系统\",\r\n \"forks_count\": 0,\r\n \"git_ssh_url\": \"git@gitee.com:cuckooent/pms.git\",\r\n \"git_svn_url\": \"svn://gitee.com/cuckooent/pms\",\r\n \"git_http_url\": \"https://gitee.com/cuckooent/pms.git\",\r\n \"default_branch\": \"master\",\r\n \"watchers_count\": 3,\r\n \"stargazers_count\": 0,\r\n \"open_issues_count\": 0,\r\n \"name_with_namespace\": \"超哥/PMS\",\r\n \"path_with_namespace\": \"cuckooent/pms\"\r\n },\r\n \"user_id\": 13097545,\r\n \"hook_url\": \"https://gitee.com/cuckooent/pms/hooks/1400568/edit\",\r\n \"password\": \"6158891\",\r\n \"hook_name\": \"push_hooks\",\r\n \"push_data\": null,\r\n \"timestamp\": \"1718674701049\",\r\n \"user_name\": \"tyfeikele\",\r\n \"enterprise\": null,\r\n \"repository\": {\r\n \"id\": 33487312,\r\n \"url\": \"https://gitee.com/cuckooent/pms\",\r\n \"fork\": false,\r\n \"name\": \"PMS\",\r\n \"path\": \"pms\",\r\n \"owner\": {\r\n \"id\": 5267986,\r\n \"url\": \"https://gitee.com/cuckooent\",\r\n \"name\": \"超哥\",\r\n \"type\": \"User\",\r\n \"email\": \"phoben@qq.com\",\r\n \"login\": \"cuckooent\",\r\n \"remark\": null,\r\n \"html_url\": \"https://gitee.com/cuckooent\",\r\n \"username\": \"cuckooent\",\r\n \"user_name\": \"cuckooent\",\r\n \"avatar_url\": \"https://foruda.gitee.com/avatar/1677043949039184563/5267986_cuckooent_1646218684.png\",\r\n \"site_admin\": false\r\n },\r\n \"git_url\": \"git://gitee.com/cuckooent/pms.git\",\r\n \"license\": null,\r\n \"private\": true,\r\n \"ssh_url\": \"git@gitee.com:cuckooent/pms.git\",\r\n \"svn_url\": \"svn://gitee.com/cuckooent/pms\",\r\n \"has_wiki\": true,\r\n \"homepage\": null,\r\n \"html_url\": \"https://gitee.com/cuckooent/pms\",\r\n \"language\": \"C#\",\r\n \"clone_url\": \"https://gitee.com/cuckooent/pms.git\",\r\n \"full_name\": \"cuckooent/pms\",\r\n \"has_pages\": false,\r\n \"namespace\": \"cuckooent\",\r\n \"pushed_at\": \"2024-06-18T09:38:20+08:00\",\r\n \"created_at\": \"2024-02-29T22:11:29+08:00\",\r\n \"has_issues\": true,\r\n \"updated_at\": \"2024-06-18T09:38:20+08:00\",\r\n \"description\": \"新的PMS软件开发项目管理系统\",\r\n \"forks_count\": 0,\r\n \"git_ssh_url\": \"git@gitee.com:cuckooent/pms.git\",\r\n \"git_svn_url\": \"svn://gitee.com/cuckooent/pms\",\r\n \"git_http_url\": \"https://gitee.com/cuckooent/pms.git\",\r\n \"default_branch\": \"master\",\r\n \"watchers_count\": 3,\r\n \"stargazers_count\": 0,\r\n \"open_issues_count\": 0,\r\n \"name_with_namespace\": \"超哥/PMS\",\r\n \"path_with_namespace\": \"cuckooent/pms\"\r\n },\r\n \"user_email\": \"tyfeikele@qq.com\",\r\n \"head_commit\": {\r\n \"id\": \"e74df3005e06241146220c1c78b746b1cb903e9d\",\r\n \"url\": \"https://gitee.com/cuckooent/pms/commit/e74df3005e06241146220c1c78b746b1cb903e9d\",\r\n \"added\": [\r\n \r\n ],\r\n \"author\": {\r\n \"id\": null,\r\n \"url\": null,\r\n \"name\": \"HZG System\",\r\n \"time\": \"2024-06-18T09:38:19+08:00\",\r\n \"user\": null,\r\n \"email\": \"HZG System\",\r\n \"remark\": null,\r\n \"username\": null,\r\n \"user_name\": null\r\n },\r\n \"message\": \"{\\\"Message\\\":\\\"签出模块 : 后端新增项目反馈, 匿名提交项目反馈\\\",\\\"MessageType\\\":1,\\\"Modules\\\":[],\\\"Version\\\":\\\"v1\\\"}\\n\",\r\n \"removed\": [\r\n \r\n ],\r\n \"tree_id\": \"57f89455bbd615902d2a41732205a659beec7dc4\",\r\n \"distinct\": true,\r\n \"modified\": [\r\n \".collaboration\"\r\n ],\r\n \"committer\": {\r\n \"id\": null,\r\n \"url\": null,\r\n \"name\": \"HZG System\",\r\n \"time\": null,\r\n \"user\": null,\r\n \"email\": \"HZG System\",\r\n \"remark\": null,\r\n \"username\": null,\r\n \"user_name\": null\r\n },\r\n \"timestamp\": \"2024-06-18T09:38:19+08:00\",\r\n \"parent_ids\": [\r\n \"bce508cc4c7574d8974a6e94a832c639ad07af99\"\r\n ]\r\n },\r\n \"total_commits_count\": 1,\r\n \"commits_more_than_ten\": false\r\n }", "SourceJson": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=请求信息.Body" }, "ResultTo": "钩子数据", "BreakpointIdentity": "0b81bc28-41d5-4f4e-86a4-6118ff5e2f4e" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.hook_name" } }, "value": "push_hooks" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "TryCommandPart": { "$type": "Forguncy.Model.ExceptionCommandBaseNode, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$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", "BreakpointIdentity": "d79ed149-44cf-4b8f-8365-c435cf77404d" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "Operation": 17, "OperationParamaterAName": "/", "OperationParamaterBName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.ref" }, "OutParamaterName": "ref", "BreakpointIdentity": "b7a5dbaa-db01-40ea-b202-2b5537e126c9" }, { "$type": "GETPOST.正则类.正则_校验, GETPOST", "JieShouMsg": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=message.Message" }, "JieShouMsg2": "^(.{0,3}|[^\\u4e00-\\u9fa5]*)$", "FanHuiMsg": "内容有效性", "BreakpointIdentity": "d816c160-136b-4f9b-92ca-17d6254ff8b3" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "内容得分", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(内容有效性,-1,IF(LEN(message.Message)<4,0,LEN(message.Message)))" }, "ID": "e9a9309656da40e8b972d75a529aada4", "BreakpointIdentity": "03deb17e-a5d0-49df-8289-4ae89001716c" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "内容得分", "ParameterValue": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(内容得分>100,100,内容得分)" }, "ID": "94c3f90ece7f4f1da065672d832b71bc", "BreakpointIdentity": "da3804c9-b4d4-4e71-a08d-d259a6359ee6" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(内容有效性,1,0)" } }, "value": "0" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "Git_事件记录", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "事件名称", "GUID": "f5728a26-d93f-4c8d-95ce-81f96969dd0a" }, "Value": "签入工程" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "hook_id", "GUID": "c87cd952-ef50-418c-893f-3a38ddb64c1a" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.hook_id" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "事件内容", "GUID": "1455fcf6-d422-40f7-b96d-103a71f51a78" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=message.Message" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "空间路径", "GUID": "ed438631-1542-4734-8281-4b55b6c09990" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.repository.namespace" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "仓库名称", "GUID": "4c3924b2-7d09-4dd8-a6d4-234618128853" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.repository.name" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "仓库路径", "GUID": "da433dcc-a5f7-44af-8e18-49a581d58b86" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.repository.path" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "url", "GUID": "c5802278-760f-4346-9fff-5dd169d7a167" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.head_commit.url" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "提交人", "GUID": "3607700b-92ac-4076-959a-be225339146d" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.pusher.name" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "git用户名", "GUID": "42ab09c4-d71c-4fda-b6cd-c083d0ee40c3" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.pusher.username" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "仓库ID", "GUID": "e9d7e4e9-d2c2-4af5-9c38-c580f32afa03" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.repository.id" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "日期", "GUID": "2ecf9f6b-8cb0-41df-a0fc-d54e427cd660" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.head_commit.timestamp" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "内容得分", "GUID": "1d3ac7f3-23d8-4615-b5c4-c25ff9d6cf45" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=内容得分" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "sha", "GUID": "ae4a80e9-a6b0-43fc-a1a6-be84aff1b071" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.after" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Git_事件记录", "ColumnName": "分支", "GUID": "385c23f4-efcc-43eb-bffe-88c777f9db3b" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ref.2" } } ] }, "BreakpointIdentity": "1017d044-0465-4baf-85e3-04e811623523" } ] }, "ID": "87f48cdb-2309-4292-bf8a-0be12ac52ff4" } ] }, "BreakpointIdentity": "0da04987-a251-421b-9987-f4f5d6a35342" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "用户", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "用户信息视图", "TableValueType": 1, "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "19eeec3f-dee6-4b51-96c7-5a50412a9db9", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "用户名", "GUID": "664ac1a2-90a4-4c4b-bf52-4b363e8b2e56" }, "ColumnName": "用户名" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "用户信息视图", "ColumnName": "GIT用户名", "GUID": "198d8a88-c702-41b2-bcd9-c520f2198faf" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=钩子数据.pusher.username" } }, "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, "ID": "1a60c725ef3b4a2380ffdd8496fa830c", "BreakpointIdentity": "5813539b-3290-4ee8-87ea-0a0d3acd5436" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "积分记录表", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "用户", "GUID": "e9513eeb-ae0a-4188-ade8-3076325b6ce5" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=用户.用户名" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "类型", "GUID": "51fad653-a46a-4be6-a483-6f9b96e20379" }, "Value": "GitPush" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "分数", "GUID": "03909ab6-62b4-41e4-98e4-a2a174622fa2" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=内容得分" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "变动日期", "GUID": "cd49dcfc-a4ae-45ec-bcc1-79d71db9125c" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=NOW()" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "积分记录表", "ColumnName": "备注", "GUID": "33fb126a-2df3-4bc6-b91e-cf9d12577240" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"用户对Git仓库[\"&钩子数据.repository.name&\"]的签入,被系统自动评分。\"&CHAR(10)&\"签入内容:\"&message.Message" } } ] }, "BreakpointIdentity": "c6382b3e-b1af-46bc-9293-5b5372cd3bfa" } ] }, "ID": "f858d446-1a47-4993-947f-4ff1da263015" } ] }, "BreakpointIdentity": "f613adaa-4d9d-4dde-9ab9-e04a22915507" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": "签入已被记录", "BreakpointIdentity": "f1907f58-6710-4ae0-83e6-4c417c45d735" } ] }, "ID": "223823a7-c303-4c19-a0d7-0cb42f44b3c1" } ] }, "BreakpointIdentity": "c86c64bc-58cf-477a-b0c4-8486d93431e0" } ] } }, "CatchCommandPart": { "$type": "Forguncy.Model.CatchCommandNode, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "日志表", "UpdateType": "add", "ShowConfirm": false, "UpdateBindingValues": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "日志表", "ColumnName": "标题", "GUID": "0b7ad66f-04e7-456a-91ba-c329e0ff318e" }, "Value": "CallBack" }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "日志表", "ColumnName": "内容", "GUID": "646d1de8-c6a2-48fb-8e68-9743fb1f9c0c" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionMessage" } }, { "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "日志表", "ColumnName": "类型", "GUID": "0f380873-1489-4994-b42f-a2d97976102d" }, "Value": "错误" } ] }, "BreakpointIdentity": "1ee79bd2-c366-4e4b-8cce-b9dfee541007" }, { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionCode" }, "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=ExceptionMessage" }, "BreakpointIdentity": "e1fd09fd-c8c3-44ff-b3d3-6948f5f0fac2" } ] } }, "BreakpointIdentity": "80de59e4-b138-4221-8e62-9c6b9566b392" } ] }, "ID": "8866f07c-0538-475f-9b9f-2c022f1712f5" } ] }, "BreakpointIdentity": "96a18a32-6e6c-4558-8ec0-b991a59314f7" } ] } }