From c4afada124fb803976d0ac40951c5211a4f4d2b1 Mon Sep 17 00:00:00 2001 From: liuxiaohua Date: Mon, 24 Mar 2025 10:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20[2025-03-24]=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 发版/2025/20250208-企赋南北流量网关发布.md | 3 +- 发版/2025/config/20250208-eg-config.yaml | 4 +- 杂项/test.json | 164 ++++++++++++++++----- 3 files changed, 132 insertions(+), 39 deletions(-) diff --git a/发版/2025/20250208-企赋南北流量网关发布.md b/发版/2025/20250208-企赋南北流量网关发布.md index fb8b9b4..9b19368 100644 --- a/发版/2025/20250208-企赋南北流量网关发布.md +++ b/发版/2025/20250208-企赋南北流量网关发布.md @@ -60,5 +60,4 @@ ## 开发说明 - [数据库脚本DDL](./sql/20250208-eg-ddl.sql) -- [Nacos配置文件](./config/20250208-eg-config.yaml) -- \ No newline at end of file +- [Nacos配置文件](./config/20250208-eg-config.yaml) \ No newline at end of file diff --git a/发版/2025/config/20250208-eg-config.yaml b/发版/2025/config/20250208-eg-config.yaml index d018c8a..30541b2 100644 --- a/发版/2025/config/20250208-eg-config.yaml +++ b/发版/2025/config/20250208-eg-config.yaml @@ -82,4 +82,6 @@ qifu: keyfil: token: NG4Vcr corp-id: ww3ea89275951efdf1 - aes-key: 7RzIdfVg3rQggEjrk54Ccg7WDbNFXuHtQmdfO487MtA \ No newline at end of file + aes-key: 7RzIdfVg3rQggEjrk54Ccg7WDbNFXuHtQmdfO487MtA + agent-id: 1000004 + secret: o1AyujE88S9QE-Tk699f2FkK3QjlUM5P39v9NpQ3wxc \ No newline at end of file diff --git a/杂项/test.json b/杂项/test.json index 0877586..51b5e5f 100644 --- a/杂项/test.json +++ b/杂项/test.json @@ -1,8 +1,8 @@ { "allFieldsMap": { "ApprovalInfo": { - "SpStatus": "1", - "ApplyTime": "1739161760", + "SpStatus": "4", + "ApplyTime": "1742781402", "ProcessList": { "NodeList": [ { @@ -12,7 +12,7 @@ "SpYj": "1", "UserInfo": { "UserId": [ - "71c151e60b7223eb023e7f3f0af0d9b4" + "LiuQiang" ] } }, @@ -21,20 +21,68 @@ "ApvRel": "2" }, { - "SubNodeList": { - "UserInfo": [ - { - "UserId": [ - "71c151e60b7223eb023e7f3f0af0d9b4" - ] - } - ] - }, + "SubNodeList": [ + { + "UserInfo": [ + { + "UserId": [ + "WuQiaoLing" + ] + } + ] + }, + { + "UserInfo": [ + { + "UserId": [ + "JinKunChi" + ] + } + ] + }, + { + "UserInfo": [ + { + "UserId": [ + "18126133926" + ] + } + ] + }, + { + "UserInfo": [ + { + "UserId": [ + "GuoMengYi" + ] + } + ] + }, + { + "UserInfo": [ + { + "UserId": [ + "ChenTianNingrichard" + ] + } + ] + } + ], "NodeType": "2" } ] }, - "StatuChangeEvent": "5", + "Comments": { + "CommentContent": "测试", + "CommentTime": "1742781905", + "CommentUserInfo": { + "UserId": [ + "LiuXiaoHua" + ] + }, + "CommentId": "7485191286674903713" + }, + "StatuChangeEvent": "10", "SpRecord": { "SpStatus": "1", "ApproverAttr": "1", @@ -43,36 +91,58 @@ "Speech": "", "Approver": { "UserId": [ - "71c151e60b7223eb023e7f3f0af0d9b4" + "LiuQiang" ] }, "SpTime": "0" } }, - "SpNo": "202502100003", + "SpNo": "202503240005", "SpName": "请假", "Applyer": { - "Party": "1", + "Party": "76", "UserId": "LiuXiaoHua" }, - "TemplateId": "1970325119051252_1688850749363053_205273535_1532590403", - "Notifyer": { - "UserId": [ - "71c151e60b7223eb023e7f3f0af0d9b4" - ] - } + "TemplateId": "C4NwUaEfUNaPfjc8kyXYYk2V77jJwoGYvpoLwATbr", + "Notifyer": [ + { + "UserId": [ + "WuQiaoLing" + ] + }, + { + "UserId": [ + "JinKunChi" + ] + }, + { + "UserId": [ + "18126133926" + ] + }, + { + "UserId": [ + "GuoMengYi" + ] + }, + { + "UserId": [ + "ChenTianNingrichard" + ] + } + ] }, - "CreateTime": "1739330961", + "CreateTime": "1742781905", "Event": "sys_approval_change", - "ToUserName": "ww14a4f7445c81de7b", + "ToUserName": "ww3ea89275951efdf1", "FromUserName": "sys", "MsgType": "event", - "AgentID": "1000003" + "AgentID": "1000004" }, - "agentId": "1000003", - "toUserName": "ww14a4f7445c81de7b", + "agentId": "1000004", + "toUserName": "ww3ea89275951efdf1", "fromUserName": "sys", - "createTime": 1739330961, + "createTime": 1742781905, "msgType": "event", "event": "sys_approval_change", "extAttrs": { @@ -84,14 +154,14 @@ }, "sendLocationInfo": {}, "approvalInfo": { - "spNo": "202502100003", + "spNo": "202503240005", "spName": "请假", - "spStatus": 1, - "templateId": "1970325119051252_1688850749363053_205273535_1532590403", - "applyTime": 1739161760, + "spStatus": 4, + "templateId": "C4NwUaEfUNaPfjc8kyXYYk2V77jJwoGYvpoLwATbr", + "applyTime": 1742781402, "applier": { "userId": "LiuXiaoHua", - "party": "1" + "party": "76" }, "spRecords": [ { @@ -100,7 +170,7 @@ "details": [ { "approver": { - "userId": "71c151e60b7223eb023e7f3f0af0d9b4" + "userId": "LiuQiang" }, "speech": "", "spStatus": "1", @@ -111,9 +181,31 @@ ], "notifier": [ { - "userId": "71c151e60b7223eb023e7f3f0af0d9b4" + "userId": "WuQiaoLing" + }, + { + "userId": "JinKunChi" + }, + { + "userId": "18126133926" + }, + { + "userId": "GuoMengYi" + }, + { + "userId": "ChenTianNingrichard" } ], - "statusChangeEvent": 5 + "comments": [ + { + "commentUserInfo": { + "userId": "LiuXiaoHua" + }, + "commentTime": "1742781905", + "commentContent": "测试", + "commentId": "7485191286674903713" + } + ], + "statusChangeEvent": 10 } } \ No newline at end of file