From 0a73f78e58c14dc7d0416793c5b7521422b5bb18 Mon Sep 17 00:00:00 2001 From: cuckooent Date: Tue, 26 Nov 2024 21:34:41 +0800 Subject: [PATCH] =?UTF-8?q?{"Message":"1","MessageType":2,"Modules":[{"Sta?= =?UTF-8?q?te":1,"Type":27,"Name":"ServerCommandPrivate/=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E9=92=89=E9=92=89=E5=9B=9E=E8=B0=83=E4=BA=8B=E4=BB=B6"},{"Stat?= =?UTF-8?q?e":1,"Type":27,"Name":"ServerCommandPrivate/=E9=92=89=E9=92=89?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=A4=84=E7=90=86"}],"Version":"v1"}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .collaboration | 22 ++------------- ServerCommands/钉钉/订阅钉钉回调事件.json | 17 +++++++++--- ServerCommands/钉钉/钉钉事件处理.json | 33 +++++++++++------------ 3 files changed, 31 insertions(+), 41 deletions(-) diff --git a/.collaboration b/.collaboration index 339bcdcf..e5208014 100644 --- a/.collaboration +++ b/.collaboration @@ -1774,16 +1774,7 @@ }, { "ModuleName": "ServerCommandPrivate/订阅钉钉回调事件", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-26T21:32:39.6303355+08:00", - "ModuleType": 27, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\订阅钉钉回调事件.json" - ] + "ModuleType": 27 }, { "ModuleName": "ServerCommand/创建任务审批待办", @@ -2555,16 +2546,7 @@ }, { "ModuleName": "ServerCommandPrivate/钉钉事件处理", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-11-26T21:31:25.3373559+08:00", - "ModuleType": 27, - "ToRemoveFiles": [ - "ServerCommands\\钉钉\\钉钉事件处理.json" - ] + "ModuleType": 27 }, { "ModuleName": "Image/默认头像.png", diff --git a/ServerCommands/钉钉/订阅钉钉回调事件.json b/ServerCommands/钉钉/订阅钉钉回调事件.json index 7d4441f3..15d81870 100644 --- a/ServerCommands/钉钉/订阅钉钉回调事件.json +++ b/ServerCommands/钉钉/订阅钉钉回调事件.json @@ -39,6 +39,15 @@ "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ + { + "$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand", + "SourceObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=事件体" + }, + "ToParameter": "事件体字符串", + "BreakpointIdentity": "f898b902-8680-40a6-bc93-6722627c5555" + }, { "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "ServerCommandName": "钉钉事件处理", @@ -58,7 +67,7 @@ "ParamName": "事件体", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=事件体" + "SerializeProperty": "=事件体字符串" } }, { @@ -149,7 +158,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "日志表", "ColumnName": "标题", - "GUID": "8465f49e-9a8f-4e09-ba27-3902bfc37485" + "GUID": "7869aa09-52a7-4289-969c-cf1658379c85" }, "Value": "钉钉回调处理异常" }, @@ -159,7 +168,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "日志表", "ColumnName": "内容", - "GUID": "30832d24-d014-478d-8efe-e1c2f8f991c1" + "GUID": "c50e5ae2-2a7d-4be3-aedf-e715f0356f10" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -172,7 +181,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "日志表", "ColumnName": "类型", - "GUID": "01036274-3417-4491-8e76-0770a05260aa" + "GUID": "9e73ad94-f21e-4edd-b999-41988bd9f6e9" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", diff --git a/ServerCommands/钉钉/钉钉事件处理.json b/ServerCommands/钉钉/钉钉事件处理.json index 04bfbb51..62ea3b5c 100644 --- a/ServerCommands/钉钉/钉钉事件处理.json +++ b/ServerCommands/钉钉/钉钉事件处理.json @@ -26,7 +26,7 @@ "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, - "TestData": "{\r\n \"eventId\": \"580c2f3f5c0940a3aafc7be61e471f5c\",\r\n \"openConfModel\": {\r\n \"bizType\": \"0\",\r\n \"minutesStatus\": 0,\r\n \"creatorId\": \"qHS0suTOlnViP5YxkiPFC0NgiEiE\",\r\n \"title\": \"夏超发起的沟通会议\",\r\n \"activeNum\": 0,\r\n \"creatorNick\": \"夏超\",\r\n \"attendNum\": 1,\r\n \"confDuration\": 3600986,\r\n \"conferenceId\": \"674034064bc81b026eaca150\",\r\n \"startTime\": 1732260870021,\r\n \"endTime\": 1732264471007,\r\n \"invitedNum\": 1,\r\n \"cloudRecordStatus\": 0,\r\n \"status\": 1\r\n },\r\n \"statusSeqNum\": 8,\r\n \"changeScene\": \"conference_closed\"\r\n}" + "TestData": "{\r\n \"eventId\": \"4387c959fc4347ef8279c60d7f6fab2d\",\r\n \"openConfModel\": {\r\n \"bizType\": \"0\",\r\n \"minutesStatus\": 0,\r\n \"creatorId\": \"qHS0suTOlnViP5YxkiPFC0NgiEiE\",\r\n \"title\": \"夏超发起的沟通会议\",\r\n \"activeNum\": 0,\r\n \"creatorNick\": \"夏超\",\r\n \"attendNum\": 2,\r\n \"confDuration\": 3600619,\r\n \"conferenceId\": \"6745b2512dc7a7026dae45a0\",\r\n \"startTime\": 1732620881766,\r\n \"endTime\": 1732624482385,\r\n \"invitedNum\": 2,\r\n \"cloudRecordStatus\": 0,\r\n \"status\": 1\r\n },\r\n \"statusSeqNum\": 11,\r\n \"changeScene\": \"conference_closed\"\r\n}" }, { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", @@ -95,7 +95,6 @@ }, "SampleJson": "{\r\n \"eventId\": \"580c2f3f5c0940a3aafc7be61e471f5c\",\r\n \"openConfModel\": {\r\n \"bizType\": \"0\",\r\n \"minutesStatus\": 0,\r\n \"creatorId\": \"qHS0suTOlnViP5YxkiPFC0NgiEiE\",\r\n \"title\": \"夏超发起的沟通会议\",\r\n \"activeNum\": 0,\r\n \"creatorNick\": \"夏超\",\r\n \"attendNum\": 1,\r\n \"confDuration\": 3600986,\r\n \"conferenceId\": \"674034064bc81b026eaca150\",\r\n \"startTime\": 1732260870021,\r\n \"endTime\": 1732264471007,\r\n \"invitedNum\": 1,\r\n \"cloudRecordStatus\": 0,\r\n \"status\": 1\r\n },\r\n \"statusSeqNum\": 8,\r\n \"changeScene\": \"conference_closed\"\r\n}", "ToParameter": "事件体", - "Disabled": true, "BreakpointIdentity": "f634e86d-36ed-47f7-9e93-474b637a369e" }, { @@ -489,7 +488,7 @@ } ] }, - "ID": "fe7927d8-6037-41ff-b860-c63487078ede" + "ID": "4efaa5ff-6f9e-4275-8b6b-40ec446164ae" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -627,7 +626,7 @@ } ] }, - "ID": "522d7f30-2ea2-44f8-8244-90e6948676e9" + "ID": "d0cc3520-d27e-4f09-90a0-48655dbe05b5" } ] }, @@ -636,7 +635,7 @@ ] }, "Comments": "会议创建事件", - "ID": "48028080-5f49-4926-bc48-ccfa14b9125a" + "ID": "16638f7a-0f7f-4eee-b28d-e7812c5b6d1d" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -661,7 +660,7 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=(事件体.openConfModel.endTime/1000/60/60/24)+DATE(1970,1,1)" }, - "ID": "5ab7536987d54ea49a5f620379f30cfa", + "ID": "b3cb1a7c0e404b7eace98af0c9e940f7", "BreakpointIdentity": "0f62e1fa-feac-4b59-8b89-2244064b9d79" }, { @@ -671,7 +670,7 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=事件体.openConfModel.confDuration/1000" }, - "ID": "260bca3df3c1448491ce0b98a4d09686", + "ID": "26c891fc5f404836ba21af9a29135140", "BreakpointIdentity": "f0c977f8-0e80-4d99-ad98-6b97538790d8" }, { @@ -910,7 +909,7 @@ } ] }, - "ID": "117cc70f-bd92-4348-87d4-9e103318bf7f" + "ID": "64ccb7a1-42b1-4e99-aff4-303083ccf50c" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -925,7 +924,7 @@ } ] }, - "ID": "1dae36a2-3cfe-48e3-a67e-f322776cb4bc" + "ID": "8522732a-0750-48bb-aeed-c2c0902297c9" } ] }, @@ -1045,7 +1044,7 @@ } ] }, - "ID": "908409e9-2e29-4ed2-a454-2e50d78301eb" + "ID": "90b6f700-ebcf-409f-9f7a-f8e1d7eab9df" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -1183,7 +1182,7 @@ } ] }, - "ID": "6397b754-595e-498a-8b51-0d83f0b051b4" + "ID": "9fb174f8-ad1c-4421-a092-1efa0745f490" } ] }, @@ -1191,7 +1190,7 @@ } ] }, - "ID": "f9d85e62-40af-4162-b94c-11582fdc2eae" + "ID": "0ab9be0a-ccbc-43c9-9f01-0b7e73b4c875" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -1277,7 +1276,7 @@ } ] }, - "ID": "40efd876-85da-4c9f-bf31-aff9283a7ed7" + "ID": "55847a88-361d-4203-bc33-b17c10f3b4d4" } ] }, @@ -1291,7 +1290,7 @@ } ] }, - "ID": "04637fc3-9070-4e63-80b9-41d4abc43279" + "ID": "0a6020ec-e3f1-448c-92d8-8bdeb26f17cd" } ] }, @@ -1300,7 +1299,7 @@ ] }, "Comments": "会议状态变更", - "ID": "18225f73-3c10-40c5-a06d-e54658b0b228" + "ID": "9249027a-bbf6-47b4-9556-beca955f7a32" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", @@ -1419,7 +1418,7 @@ } ] }, - "ID": "89444b47-54cd-435c-9a44-9195b2295363" + "ID": "178f08f6-236e-4485-adee-72dffeb5f956" } ] }, @@ -1431,7 +1430,7 @@ } ] }, - "ID": "079cd90d-a5ff-4c03-b85d-573feb653e3e" + "ID": "b5a67aff-e46b-44ea-8b25-ec8bd6814ce8" } ] },