n8n-nodes-wecom 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +173 -130
- package/dist/credentials/WeComApi.credentials.js +20 -14
- package/dist/credentials/WeComApi.credentials.js.map +1 -1
- package/dist/nodes/WeCom/WeCom.node.js +41 -22
- package/dist/nodes/WeCom/WeCom.node.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/index.js +16 -16
- package/dist/nodes/WeCom/resources/appChat/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/updateAppChat.js +8 -8
- package/dist/nodes/WeCom/resources/appChat/updateAppChat.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/index.js +126 -126
- package/dist/nodes/WeCom/resources/contact/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/linkedcorp/index.js +18 -2
- package/dist/nodes/WeCom/resources/linkedcorp/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/material/index.js +10 -2
- package/dist/nodes/WeCom/resources/material/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/commonFields.js +4 -4
- package/dist/nodes/WeCom/resources/message/commonFields.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/index.js +18 -2
- package/dist/nodes/WeCom/resources/message/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendMpNews.js +12 -12
- package/dist/nodes/WeCom/resources/message/sendMpNews.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendTaskCard.js +8 -8
- package/dist/nodes/WeCom/resources/message/sendTaskCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendTemplateCard.js +6 -6
- package/dist/nodes/WeCom/resources/message/sendTemplateCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/updateTemplateCard.js +6 -6
- package/dist/nodes/WeCom/resources/message/updateTemplateCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendTemplateCard.js +22 -31
- package/dist/nodes/WeCom/resources/pushMessage/sendTemplateCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/wedoc/index.js +146 -146
- package/dist/nodes/WeCom/resources/wedoc/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/wefile/addFileMembers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/addFileMembers.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/addFileMembers.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/addSpaceMembers.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/createFolder.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/createFolder.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/createFolder.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/createSpace.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/createSpace.js +83 -0
- package/dist/nodes/WeCom/resources/wefile/createSpace.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/deleteFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/deleteFile.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/deleteFile.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/deleteSpace.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/deleteSpace.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/deleteSpace.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/downloadFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/downloadFile.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/downloadFile.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/execute.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/execute.js +251 -0
- package/dist/nodes/WeCom/resources/wefile/execute.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/fileSecuritySettings.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/fileShareSettings.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/fileShareSettings.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/fileShareSettings.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getFileInfo.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getFileInfo.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getFileInfo.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getFileList.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getFileList.js +99 -0
- package/dist/nodes/WeCom/resources/wefile/getFileList.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getFilePermissions.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getFilePermissions.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getFilePermissions.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getFileShareLink.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getFileShareLink.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getFileShareLink.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInfo.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/getSpaceInviteLink.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/index.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/index.js +197 -0
- package/dist/nodes/WeCom/resources/wefile/index.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/moveFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/moveFile.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/moveFile.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/removeFileMembers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/removeFileMembers.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/removeFileMembers.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/removeSpaceMembers.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/renameFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/renameFile.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/renameFile.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/renameSpace.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/renameSpace.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/renameSpace.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.js +19 -0
- package/dist/nodes/WeCom/resources/wefile/spaceSecuritySettings.js.map +1 -0
- package/dist/nodes/WeCom/resources/wefile/uploadFile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wefile/uploadFile.js +64 -0
- package/dist/nodes/WeCom/resources/wefile/uploadFile.js.map +1 -0
- package/dist/nodes/WeComTrigger/WeComTrigger.node.js +5 -5
- package/dist/nodes/WeComTrigger/WeComTrigger.node.js.map +1 -1
- package/dist/package.json +4 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -14,17 +14,18 @@ npm install n8n-nodes-wecom
|
|
|
14
14
|
|
|
15
15
|
## 凭证配置
|
|
16
16
|
|
|
17
|
-
### 消息推送功能(群机器人
|
|
17
|
+
### 消息推送功能(群机器人Webhook需要)
|
|
18
18
|
|
|
19
19
|
**消息推送**功能用于通过群机器人 Webhook 发送消息到企业微信群聊
|
|
20
20
|
|
|
21
|
-
####
|
|
21
|
+
#### 配置步骤
|
|
22
|
+
|
|
22
23
|
1. 在企业微信群聊中,点击右上角"..."菜单
|
|
23
24
|
2. 选择"群机器人" > "添加机器人"
|
|
24
25
|
3. 创建一个机器人并复制 Webhook 地址
|
|
25
26
|
4. 在 n8n 中配置"企业微信群机器人 Webhook"凭证,填入 Webhook 地址
|
|
26
27
|
|
|
27
|
-
###
|
|
28
|
+
### 获取企业微信凭证(消息发送、通讯录、素材管理等功能需要)
|
|
28
29
|
|
|
29
30
|
1. 登录 [企业微信管理后台](https://work.weixin.qq.com/)
|
|
30
31
|
2. 进入"我的企业" > "企业信息",复制 **企业ID (CorpID)**
|
|
@@ -36,20 +37,20 @@ npm install n8n-nodes-wecom
|
|
|
36
37
|
|
|
37
38
|
1. 添加"企业微信"节点到工作流
|
|
38
39
|
2. 根据使用的功能选择对应的凭证:
|
|
39
|
-
|
|
40
|
+
|
|
40
41
|
**消息推送(群机器人):**
|
|
41
42
|
- 点击"Credential to connect with"
|
|
42
|
-
- 选择"创建新凭证 - 企业微信群机器人 Webhook"
|
|
43
|
+
- 选择"创建新凭证 - 企业微信群机器人 Webhook API"
|
|
43
44
|
- 填入群机器人的 Webhook URL
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
|
|
46
|
+
**应用消息、通讯录、素材管理等:**
|
|
46
47
|
- 点击"Credential to connect with"
|
|
47
48
|
- 选择"创建新凭证 - 企业微信 API"
|
|
48
49
|
- 填入以下信息:
|
|
49
50
|
- **企业 ID** - 你的企业 CorpID
|
|
50
51
|
- **应用 Secret** - 应用的 Secret
|
|
51
52
|
- **应用 ID** - 应用的 AgentID
|
|
52
|
-
|
|
53
|
+
|
|
53
54
|
**消息接收(Trigger 节点):**
|
|
54
55
|
- 添加"企业微信消息接收"触发器节点
|
|
55
56
|
- 点击"Credential to connect with"
|
|
@@ -60,27 +61,29 @@ npm install n8n-nodes-wecom
|
|
|
60
61
|
- **EncodingAESKey** - 你将在企业微信后台设置的密钥(两边必须一致,43位字符)
|
|
61
62
|
- 复制节点的 Webhook URL
|
|
62
63
|
- 在企业微信应用管理后台配置接收消息时,使用**相同的** Token 和 EncodingAESKey
|
|
63
|
-
|
|
64
|
-
> 💡 **说明**:Token 和 EncodingAESKey 是你自己设置的"暗号",用于确保消息安全。节点会自动使用这些参数验证签名和解密消息,你无需手动处理这些步骤
|
|
65
64
|
|
|
66
65
|
## 已实现功能
|
|
67
66
|
|
|
68
67
|
### 📥 消息接收(Trigger 节点)
|
|
69
68
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
- ✅
|
|
73
|
-
- ✅
|
|
74
|
-
- ✅
|
|
75
|
-
- ✅
|
|
76
|
-
- ✅
|
|
77
|
-
- ✅
|
|
69
|
+
> 📖 [官方文档:接收消息与事件](https://developer.work.weixin.qq.com/document/path/90238)
|
|
70
|
+
|
|
71
|
+
- ✅ [接收企业微信应用消息回调](https://developer.work.weixin.qq.com/document/path/90238)
|
|
72
|
+
- ✅ [接收文本消息](https://developer.work.weixin.qq.com/document/path/90239)
|
|
73
|
+
- ✅ [接收图片消息](https://developer.work.weixin.qq.com/document/path/90239)
|
|
74
|
+
- ✅ [接收语音消息](https://developer.work.weixin.qq.com/document/path/90239)
|
|
75
|
+
- ✅ [接收视频消息](https://developer.work.weixin.qq.com/document/path/90239)
|
|
76
|
+
- ✅ [接收位置消息](https://developer.work.weixin.qq.com/document/path/90239)
|
|
77
|
+
- ✅ [接收链接消息](https://developer.work.weixin.qq.com/document/path/90239)
|
|
78
|
+
- ✅ [接收事件推送](https://developer.work.weixin.qq.com/document/path/90240)(成员变更、部门变更等)
|
|
78
79
|
- ✅ URL 验证
|
|
79
80
|
- ✅ 消息加解密
|
|
80
81
|
- ✅ 签名验证
|
|
81
82
|
|
|
82
83
|
### 📩 消息推送(群机器人)
|
|
83
84
|
|
|
85
|
+
> 📖 [官方文档:消息推送配置说明](https://developer.work.weixin.qq.com/document/path/99110)
|
|
86
|
+
|
|
84
87
|
- ✅ 发送文本消息
|
|
85
88
|
- ✅ 发送 Markdown 消息
|
|
86
89
|
- ✅ 发送 Markdown V2 消息
|
|
@@ -94,6 +97,8 @@ npm install n8n-nodes-wecom
|
|
|
94
97
|
|
|
95
98
|
### 📨 应用消息发送
|
|
96
99
|
|
|
100
|
+
> 📖 [官方文档:发送应用消息](https://developer.work.weixin.qq.com/document/path/90236)
|
|
101
|
+
|
|
97
102
|
- ✅ 发送文本消息
|
|
98
103
|
- ✅ 发送 Markdown 消息
|
|
99
104
|
- ✅ 发送图片消息
|
|
@@ -106,175 +111,213 @@ npm install n8n-nodes-wecom
|
|
|
106
111
|
- ✅ 发送小程序通知消息
|
|
107
112
|
- ✅ 发送任务卡片消息
|
|
108
113
|
- ✅ 发送模板卡片消息
|
|
109
|
-
- ✅
|
|
110
|
-
- ✅ 撤回应用消息
|
|
111
|
-
- ✅ 更新模板卡片消息
|
|
114
|
+
- ✅ [发送学校通知](https://developer.work.weixin.qq.com/document/path/91609)(家校应用)
|
|
115
|
+
- ✅ [撤回应用消息](https://developer.work.weixin.qq.com/document/path/94867)
|
|
116
|
+
- ✅ [更新模板卡片消息](https://developer.work.weixin.qq.com/document/path/94888)
|
|
112
117
|
|
|
113
118
|
### 💬 群聊会话
|
|
114
119
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
- ✅
|
|
118
|
-
- ✅
|
|
119
|
-
- ✅
|
|
120
|
-
- ✅
|
|
121
|
-
-
|
|
122
|
-
-
|
|
120
|
+
> 📖 [官方文档:应用发送消息到群聊会话](https://developer.work.weixin.qq.com/document/path/90244)
|
|
121
|
+
|
|
122
|
+
- ✅ [创建群聊会话](https://developer.work.weixin.qq.com/document/path/90245)
|
|
123
|
+
- ✅ [获取群聊会话信息](https://developer.work.weixin.qq.com/document/path/98914)
|
|
124
|
+
- ✅ [修改群聊会话](https://developer.work.weixin.qq.com/document/path/98913)(修改群名、群主、添加/删除成员)
|
|
125
|
+
- ✅ [发送消息到群聊](https://developer.work.weixin.qq.com/document/path/90248)
|
|
126
|
+
- 发送文本消息到群聊
|
|
127
|
+
- 发送图片消息到群聊
|
|
128
|
+
- 发送文件消息到群聊
|
|
129
|
+
- 发送 Markdown 消息到群聊
|
|
130
|
+
- 发送图文消息到群聊
|
|
123
131
|
|
|
124
132
|
### 👥 通讯录管理
|
|
125
133
|
|
|
134
|
+
> 📖 [官方文档:通讯录管理](https://developer.work.weixin.qq.com/document/path/90193)
|
|
135
|
+
|
|
126
136
|
#### 成员管理
|
|
127
|
-
|
|
128
|
-
- ✅
|
|
129
|
-
- ✅
|
|
130
|
-
- ✅
|
|
131
|
-
- ✅
|
|
132
|
-
- ✅
|
|
133
|
-
- ✅
|
|
134
|
-
- ✅
|
|
135
|
-
- ✅
|
|
136
|
-
- ✅
|
|
137
|
-
- ✅
|
|
138
|
-
- ✅
|
|
137
|
+
|
|
138
|
+
- ✅ [创建成员](https://developer.work.weixin.qq.com/document/path/90195)
|
|
139
|
+
- ✅ [读取成员信息](https://developer.work.weixin.qq.com/document/path/90196)
|
|
140
|
+
- ✅ [更新成员](https://developer.work.weixin.qq.com/document/path/90197)
|
|
141
|
+
- ✅ [删除成员](https://developer.work.weixin.qq.com/document/path/90198)
|
|
142
|
+
- ✅ [批量删除成员](https://developer.work.weixin.qq.com/document/path/90199)
|
|
143
|
+
- ✅ [获取部门成员列表](https://developer.work.weixin.qq.com/document/path/90200)
|
|
144
|
+
- ✅ [获取部门成员详情](https://developer.work.weixin.qq.com/document/path/90201)
|
|
145
|
+
- ✅ [获取成员ID列表](https://developer.work.weixin.qq.com/document/path/96067)
|
|
146
|
+
- ✅ [手机号获取userid](https://developer.work.weixin.qq.com/document/path/95402)
|
|
147
|
+
- ✅ [邮箱获取userid](https://developer.work.weixin.qq.com/document/path/95895)
|
|
148
|
+
- ✅ [邀请成员](https://developer.work.weixin.qq.com/document/path/90975)
|
|
149
|
+
- ✅ [获取加入企业二维码](https://developer.work.weixin.qq.com/document/path/91714)
|
|
139
150
|
|
|
140
151
|
#### 部门管理
|
|
141
|
-
|
|
142
|
-
- ✅
|
|
143
|
-
- ✅
|
|
144
|
-
- ✅
|
|
145
|
-
- ✅
|
|
146
|
-
- ✅
|
|
152
|
+
|
|
153
|
+
- ✅ [创建部门](https://developer.work.weixin.qq.com/document/path/90205)
|
|
154
|
+
- ✅ [更新部门](https://developer.work.weixin.qq.com/document/path/90206)
|
|
155
|
+
- ✅ [删除部门](https://developer.work.weixin.qq.com/document/path/90207)
|
|
156
|
+
- ✅ [获取部门列表](https://developer.work.weixin.qq.com/document/path/90208)
|
|
157
|
+
- ✅ [获取子部门ID列表](https://developer.work.weixin.qq.com/document/path/95350)
|
|
158
|
+
- ✅ [获取单个部门详情](https://developer.work.weixin.qq.com/document/path/95351)
|
|
147
159
|
|
|
148
160
|
#### 标签管理
|
|
149
|
-
|
|
150
|
-
- ✅
|
|
151
|
-
- ✅
|
|
152
|
-
- ✅
|
|
153
|
-
- ✅
|
|
154
|
-
- ✅
|
|
155
|
-
- ✅
|
|
161
|
+
|
|
162
|
+
- ✅ [创建标签](https://developer.work.weixin.qq.com/document/path/90210)
|
|
163
|
+
- ✅ [更新标签名字](https://developer.work.weixin.qq.com/document/path/90211)
|
|
164
|
+
- ✅ [删除标签](https://developer.work.weixin.qq.com/document/path/90212)
|
|
165
|
+
- ✅ [获取标签成员](https://developer.work.weixin.qq.com/document/path/90213)
|
|
166
|
+
- ✅ [增加标签成员](https://developer.work.weixin.qq.com/document/path/90214)
|
|
167
|
+
- ✅ [删除标签成员](https://developer.work.weixin.qq.com/document/path/90215)
|
|
168
|
+
- ✅ [获取标签列表](https://developer.work.weixin.qq.com/document/path/90216)
|
|
156
169
|
|
|
157
170
|
#### 账号ID转换
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
171
|
+
|
|
172
|
+
> 📖 [官方文档:账号 ID](https://developer.work.weixin.qq.com/document/path/98728)
|
|
173
|
+
|
|
174
|
+
- ✅ [用户ID转OpenID](https://developer.work.weixin.qq.com/document/path/90202)
|
|
175
|
+
- ✅ [OpenID转用户ID](https://developer.work.weixin.qq.com/document/path/90202)
|
|
176
|
+
- ✅ [临时外部联系人ID转换](https://developer.work.weixin.qq.com/document/path/98729)
|
|
161
177
|
|
|
162
178
|
#### 异步导入接口
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
- ✅
|
|
179
|
+
|
|
180
|
+
> 📖 [官方文档:异步导入接口](https://developer.work.weixin.qq.com/document/path/90979)
|
|
181
|
+
|
|
182
|
+
- ✅ [增量更新成员](https://developer.work.weixin.qq.com/document/path/90980)
|
|
183
|
+
- ✅ [全量覆盖成员](https://developer.work.weixin.qq.com/document/path/90981)
|
|
184
|
+
- ✅ [全量覆盖部门](https://developer.work.weixin.qq.com/document/path/90982)
|
|
185
|
+
- ✅ [获取异步任务结果](https://developer.work.weixin.qq.com/document/path/90983)
|
|
167
186
|
|
|
168
187
|
#### 异步导出接口
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
- ✅
|
|
173
|
-
- ✅
|
|
188
|
+
|
|
189
|
+
> 📖 [官方文档:异步导出接口](https://developer.work.weixin.qq.com/document/path/94850)
|
|
190
|
+
|
|
191
|
+
- ✅ [导出成员](https://developer.work.weixin.qq.com/document/path/94849)
|
|
192
|
+
- ✅ [导出成员详情](https://developer.work.weixin.qq.com/document/path/94851)
|
|
193
|
+
- ✅ [导出部门](https://developer.work.weixin.qq.com/document/path/94852)
|
|
194
|
+
- ✅ [导出标签成员](https://developer.work.weixin.qq.com/document/path/94853)
|
|
195
|
+
- ✅ [获取导出结果](https://developer.work.weixin.qq.com/document/path/94854)
|
|
174
196
|
|
|
175
197
|
### 📦 素材管理
|
|
176
198
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
- ✅
|
|
180
|
-
- ✅
|
|
181
|
-
- ✅
|
|
199
|
+
> 📖 [官方文档:素材管理](https://developer.work.weixin.qq.com/document/path/91054)
|
|
200
|
+
|
|
201
|
+
- ✅ [上传临时素材](https://developer.work.weixin.qq.com/document/path/90253)
|
|
202
|
+
- ✅ [上传图片](https://developer.work.weixin.qq.com/document/path/90256)
|
|
203
|
+
- ✅ [异步上传临时素材](https://developer.work.weixin.qq.com/document/path/96219)
|
|
204
|
+
- ✅ [获取临时素材](https://developer.work.weixin.qq.com/document/path/90254)
|
|
205
|
+
- ✅ [获取高清语音素材](https://developer.work.weixin.qq.com/document/path/90255)
|
|
182
206
|
- ✅ 上传永久素材
|
|
183
207
|
- ✅ 获取永久素材
|
|
184
208
|
|
|
185
209
|
### 🔗 企业互联
|
|
186
210
|
|
|
211
|
+
> 📖 [官方文档:企业互联](https://developer.work.weixin.qq.com/document/path/93360)
|
|
212
|
+
|
|
187
213
|
#### 企业互联基础接口
|
|
188
|
-
|
|
189
|
-
- ✅
|
|
190
|
-
- ✅
|
|
214
|
+
|
|
215
|
+
- ✅ [获取应用共享信息](https://developer.work.weixin.qq.com/document/path/93403)
|
|
216
|
+
- ✅ [获取下级/下游企业的access_token](https://developer.work.weixin.qq.com/document/path/93359)
|
|
217
|
+
- ✅ [获取下级/下游企业小程序session](https://developer.work.weixin.qq.com/document/path/93355)
|
|
191
218
|
|
|
192
219
|
#### 上下游基础接口
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
- ✅
|
|
197
|
-
- ✅
|
|
220
|
+
|
|
221
|
+
> 📖 [官方文档:上下游](https://developer.work.weixin.qq.com/document/path/97213)
|
|
222
|
+
|
|
223
|
+
- ✅ [获取应用共享信息](https://developer.work.weixin.qq.com/document/path/95813)
|
|
224
|
+
- ✅ [获取下级/下游企业的access_token](https://developer.work.weixin.qq.com/document/path/95816)
|
|
225
|
+
- ✅ [获取下级/下游企业小程序session](https://developer.work.weixin.qq.com/document/path/95817)
|
|
226
|
+
- ✅ [上下游关联客户信息-已添加客户](https://developer.work.weixin.qq.com/document/path/95818)
|
|
227
|
+
- ✅ [上下游关联客户信息-未添加客户](https://developer.work.weixin.qq.com/document/path/97357)
|
|
198
228
|
|
|
199
229
|
#### 上下游通讯录管理
|
|
200
|
-
|
|
201
|
-
- ✅
|
|
202
|
-
- ✅
|
|
203
|
-
- ✅
|
|
204
|
-
- ✅
|
|
205
|
-
- ✅
|
|
230
|
+
|
|
231
|
+
- ✅ [获取上下游信息](https://developer.work.weixin.qq.com/document/path/95820)
|
|
232
|
+
- ✅ [批量导入上下游联系人](https://developer.work.weixin.qq.com/document/path/95821)
|
|
233
|
+
- ✅ [获取异步任务结果](https://developer.work.weixin.qq.com/document/path/95823)
|
|
234
|
+
- ✅ [移除企业](https://developer.work.weixin.qq.com/document/path/95822)
|
|
235
|
+
- ✅ [查询成员自定义id](https://developer.work.weixin.qq.com/document/path/97441)
|
|
236
|
+
- ✅ [获取下级企业加入的上下游](https://developer.work.weixin.qq.com/document/path/97442)
|
|
206
237
|
|
|
207
238
|
#### 上下游规则
|
|
208
|
-
|
|
209
|
-
- ✅
|
|
210
|
-
- ✅
|
|
211
|
-
- ✅
|
|
212
|
-
- ✅
|
|
239
|
+
|
|
240
|
+
- ✅ [获取对接规则id列表](https://developer.work.weixin.qq.com/document/path/95631)
|
|
241
|
+
- ✅ [删除对接规则](https://developer.work.weixin.qq.com/document/path/95632)
|
|
242
|
+
- ✅ [获取对接规则详情](https://developer.work.weixin.qq.com/document/path/95633)
|
|
243
|
+
- ✅ [新增对接规则](https://developer.work.weixin.qq.com/document/path/95634)
|
|
244
|
+
- ✅ [更新对接规则](https://developer.work.weixin.qq.com/document/path/95635)
|
|
213
245
|
|
|
214
246
|
### 📄 文档管理
|
|
215
247
|
|
|
216
248
|
#### 管理文档
|
|
217
|
-
|
|
218
|
-
- ✅
|
|
219
|
-
- ✅
|
|
220
|
-
- ✅
|
|
221
|
-
- ✅
|
|
249
|
+
|
|
250
|
+
- ✅ [新建文档](https://developer.work.weixin.qq.com/document/path/97460)(文档/表格/智能表格)
|
|
251
|
+
- ✅ [重命名文档](https://developer.work.weixin.qq.com/document/path/97736)
|
|
252
|
+
- ✅ [删除文档](https://developer.work.weixin.qq.com/document/path/97735)
|
|
253
|
+
- ✅ [获取文档基础信息](https://developer.work.weixin.qq.com/document/path/97734)
|
|
254
|
+
- ✅ [分享文档](https://developer.work.weixin.qq.com/document/path/97733)
|
|
222
255
|
|
|
223
256
|
#### 编辑文档
|
|
224
|
-
|
|
225
|
-
- ✅
|
|
257
|
+
|
|
258
|
+
- ✅ [编辑文档内容](https://developer.work.weixin.qq.com/document/path/97626)
|
|
259
|
+
- ✅ [编辑表格内容](https://developer.work.weixin.qq.com/document/path/97628)
|
|
226
260
|
|
|
227
261
|
#### 编辑智能表格内容
|
|
228
|
-
|
|
229
|
-
- ✅
|
|
230
|
-
- ✅
|
|
231
|
-
- ✅
|
|
232
|
-
- ✅
|
|
233
|
-
- ✅
|
|
234
|
-
- ✅
|
|
235
|
-
- ✅
|
|
236
|
-
- ✅
|
|
237
|
-
- ✅
|
|
238
|
-
- ✅
|
|
239
|
-
- ✅
|
|
262
|
+
|
|
263
|
+
- ✅ [添加子表](https://developer.work.weixin.qq.com/document/path/99896)
|
|
264
|
+
- ✅ [删除子表](https://developer.work.weixin.qq.com/document/path/99899)
|
|
265
|
+
- ✅ [更新子表](https://developer.work.weixin.qq.com/document/path/99898)
|
|
266
|
+
- ✅ [添加视图](https://developer.work.weixin.qq.com/document/path/99900)
|
|
267
|
+
- ✅ [删除视图](https://developer.work.weixin.qq.com/document/path/99901)
|
|
268
|
+
- ✅ [更新视图](https://developer.work.weixin.qq.com/document/path/99902)
|
|
269
|
+
- ✅ [添加字段](https://developer.work.weixin.qq.com/document/path/99904)
|
|
270
|
+
- ✅ [删除字段](https://developer.work.weixin.qq.com/document/path/99905)
|
|
271
|
+
- ✅ [更新字段](https://developer.work.weixin.qq.com/document/path/99906)
|
|
272
|
+
- ✅ [添加记录](https://developer.work.weixin.qq.com/document/path/99907)
|
|
273
|
+
- ✅ [删除记录](https://developer.work.weixin.qq.com/document/path/99908)
|
|
274
|
+
- ✅ [更新记录](https://developer.work.weixin.qq.com/document/path/99909)
|
|
240
275
|
|
|
241
276
|
#### 获取文档数据
|
|
242
|
-
|
|
243
|
-
- ✅
|
|
244
|
-
- ✅
|
|
277
|
+
|
|
278
|
+
- ✅ [获取文档数据](https://developer.work.weixin.qq.com/document/path/97659)
|
|
279
|
+
- ✅ [获取表格行列信息](https://developer.work.weixin.qq.com/document/path/97711)
|
|
280
|
+
- ✅ [获取表格数据](https://developer.work.weixin.qq.com/document/path/97661)
|
|
245
281
|
|
|
246
282
|
#### 获取智能表格数据
|
|
247
|
-
|
|
248
|
-
- ✅
|
|
249
|
-
- ✅
|
|
250
|
-
- ✅
|
|
283
|
+
|
|
284
|
+
- ✅ [查询子表](https://developer.work.weixin.qq.com/document/path/99911)
|
|
285
|
+
- ✅ [查询视图](https://developer.work.weixin.qq.com/document/path/99913)
|
|
286
|
+
- ✅ [查询字段](https://developer.work.weixin.qq.com/document/path/99914)
|
|
287
|
+
- ✅ [查询记录](https://developer.work.weixin.qq.com/document/path/99915)
|
|
251
288
|
|
|
252
289
|
#### 设置文档权限
|
|
253
|
-
|
|
254
|
-
- ✅
|
|
255
|
-
- ✅
|
|
256
|
-
- ✅
|
|
257
|
-
- ✅
|
|
290
|
+
|
|
291
|
+
- ✅ [获取文档权限信息](https://developer.work.weixin.qq.com/document/path/97461)
|
|
292
|
+
- ✅ [修改文档查看规则](https://developer.work.weixin.qq.com/document/path/97778)
|
|
293
|
+
- ✅ [修改文档通知范围及权限](https://developer.work.weixin.qq.com/document/path/97781)
|
|
294
|
+
- ✅ [修改文档安全设置](https://developer.work.weixin.qq.com/document/path/97782)
|
|
295
|
+
- ✅ [管理智能表格内容权限](https://developer.work.weixin.qq.com/document/path/99935)
|
|
258
296
|
|
|
259
297
|
#### 管理收集表
|
|
260
|
-
|
|
261
|
-
- ✅
|
|
262
|
-
- ✅
|
|
263
|
-
- ✅
|
|
264
|
-
- ✅
|
|
298
|
+
|
|
299
|
+
- ✅ [创建收集表](https://developer.work.weixin.qq.com/document/path/97462)
|
|
300
|
+
- ✅ [编辑收集表](https://developer.work.weixin.qq.com/document/path/97816)
|
|
301
|
+
- ✅ [获取收集表信息](https://developer.work.weixin.qq.com/document/path/97817)
|
|
302
|
+
- ✅ [收集表的统计信息查询](https://developer.work.weixin.qq.com/document/path/97818)
|
|
303
|
+
- ✅ [读取收集表答案](https://developer.work.weixin.qq.com/document/path/97819)
|
|
265
304
|
|
|
266
305
|
#### 高级功能账号管理
|
|
267
|
-
|
|
268
|
-
- ✅
|
|
269
|
-
- ✅
|
|
306
|
+
|
|
307
|
+
- ✅ [分配高级功能账号](https://developer.work.weixin.qq.com/document/path/99516)
|
|
308
|
+
- ✅ [取消高级功能账号](https://developer.work.weixin.qq.com/document/path/99517)
|
|
309
|
+
- ✅ [获取高级功能账号列表](https://developer.work.weixin.qq.com/document/path/99518)
|
|
270
310
|
|
|
271
311
|
#### 文档素材管理
|
|
272
|
-
|
|
312
|
+
|
|
313
|
+
- ✅ [上传文档图片](https://developer.work.weixin.qq.com/document/path/99933)
|
|
273
314
|
|
|
274
315
|
## 参考资源
|
|
275
316
|
|
|
276
317
|
- [企业微信开发文档](https://developer.work.weixin.qq.com/document/)
|
|
277
318
|
- [n8n 官方文档](https://docs.n8n.io/)
|
|
319
|
+
- [n8n 社区节点开发文档](https://docs.n8n.io/integrations/creating-nodes/overview/)
|
|
320
|
+
- [n8n 社区节点开发示例](https://docs.n8n.io/integrations/creating-nodes/build/declarative-style-node/)
|
|
278
321
|
|
|
279
322
|
## 许可证
|
|
280
323
|
|
|
@@ -6,15 +6,15 @@ class WeComApi {
|
|
|
6
6
|
this.name = 'weComApi';
|
|
7
7
|
this.displayName = '企业微信 API';
|
|
8
8
|
this.icon = { light: 'file:../icons/wecom.png', dark: 'file:../icons/wecom.dark.png' };
|
|
9
|
-
this.documentationUrl = 'https://developer.work.weixin.qq.com/document/path/
|
|
9
|
+
this.documentationUrl = 'https://developer.work.weixin.qq.com/document/path/90664';
|
|
10
10
|
this.properties = [
|
|
11
11
|
{
|
|
12
|
-
displayName: '企业 ID',
|
|
12
|
+
displayName: '企业 ID (Corp ID)',
|
|
13
13
|
name: 'corpId',
|
|
14
14
|
type: 'string',
|
|
15
15
|
default: '',
|
|
16
16
|
required: true,
|
|
17
|
-
description: '企业微信的企业 ID
|
|
17
|
+
description: '企业微信的企业 ID,在"管理后台 - 我的企业 - 企业信息"中查看',
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
displayName: '应用 Secret',
|
|
@@ -23,34 +23,40 @@ class WeComApi {
|
|
|
23
23
|
typeOptions: { password: true },
|
|
24
24
|
default: '',
|
|
25
25
|
required: true,
|
|
26
|
-
description: '
|
|
26
|
+
description: '应用的密钥,在"应用管理 - 自建应用"中查看',
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
displayName: '应用 ID',
|
|
29
|
+
displayName: '应用 ID (Agent ID)',
|
|
30
30
|
name: 'agentId',
|
|
31
31
|
type: 'string',
|
|
32
32
|
default: '',
|
|
33
33
|
required: true,
|
|
34
|
-
description: '
|
|
34
|
+
description: '应用的唯一标识,在"应用管理 - 自建应用"中查看',
|
|
35
35
|
},
|
|
36
36
|
];
|
|
37
37
|
this.authenticate = {
|
|
38
38
|
type: 'generic',
|
|
39
|
-
properties: {
|
|
40
|
-
qs: {
|
|
41
|
-
access_token: '={{$credentials.accessToken}}',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
39
|
+
properties: {},
|
|
44
40
|
};
|
|
45
41
|
this.test = {
|
|
46
42
|
request: {
|
|
47
43
|
baseURL: 'https://qyapi.weixin.qq.com',
|
|
48
|
-
url: '/cgi-bin/
|
|
49
|
-
method: 'GET',
|
|
44
|
+
url: '/cgi-bin/gettoken',
|
|
50
45
|
qs: {
|
|
51
|
-
|
|
46
|
+
corpid: '={{$credentials.corpId}}',
|
|
47
|
+
corpsecret: '={{$credentials.corpSecret}}',
|
|
52
48
|
},
|
|
53
49
|
},
|
|
50
|
+
rules: [
|
|
51
|
+
{
|
|
52
|
+
type: 'responseSuccessBody',
|
|
53
|
+
properties: {
|
|
54
|
+
key: 'errcode',
|
|
55
|
+
value: 0,
|
|
56
|
+
message: '认证失败:Corp ID 或 Secret 不正确',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
],
|
|
54
60
|
};
|
|
55
61
|
}
|
|
56
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WeComApi.credentials.js","sourceRoot":"","sources":["../../credentials/WeComApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,QAAQ;IAArB;QACC,SAAI,GAAG,UAAU,CAAC;QAElB,gBAAW,GAAG,UAAU,CAAC;QAGzB,SAAI,GAAS,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;QAExF,qBAAgB,GAAG,0DAA0D,CAAC;QAE9E,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"WeComApi.credentials.js","sourceRoot":"","sources":["../../credentials/WeComApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,QAAQ;IAArB;QACC,SAAI,GAAG,UAAU,CAAC;QAElB,gBAAW,GAAG,UAAU,CAAC;QAGzB,SAAI,GAAS,EAAE,KAAK,EAAE,yBAAyB,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;QAExF,qBAAgB,GAAG,0DAA0D,CAAC;QAE9E,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,qCAAqC;aAClD;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,yBAAyB;aACtC;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,2BAA2B;aACxC;SACD,CAAC;QAIF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,EAAE;SACd,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,6BAA6B;gBACtC,GAAG,EAAE,mBAAmB;gBACxB,EAAE,EAAE;oBACH,MAAM,EAAE,0BAA0B;oBAClC,UAAU,EAAE,8BAA8B;iBAC1C;aACD;YACD,KAAK,EAAE;gBACN;oBACC,IAAI,EAAE,qBAAqB;oBAC3B,UAAU,EAAE;wBACX,GAAG,EAAE,SAAS;wBACd,KAAK,EAAE,CAAC;wBACR,OAAO,EAAE,2BAA2B;qBACpC;iBACD;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAlED,4BAkEC"}
|
|
@@ -9,6 +9,7 @@ const material_1 = require("./resources/material");
|
|
|
9
9
|
const appChat_1 = require("./resources/appChat");
|
|
10
10
|
const linkedcorp_1 = require("./resources/linkedcorp");
|
|
11
11
|
const wedoc_1 = require("./resources/wedoc");
|
|
12
|
+
const wefile_1 = require("./resources/wefile");
|
|
12
13
|
const execute_1 = require("./resources/pushMessage/execute");
|
|
13
14
|
const execute_2 = require("./resources/message/execute");
|
|
14
15
|
const execute_3 = require("./resources/contact/execute");
|
|
@@ -16,6 +17,7 @@ const execute_4 = require("./resources/material/execute");
|
|
|
16
17
|
const execute_5 = require("./resources/appChat/execute");
|
|
17
18
|
const execute_6 = require("./resources/linkedcorp/execute");
|
|
18
19
|
const execute_7 = require("./resources/wedoc/execute");
|
|
20
|
+
const execute_8 = require("./resources/wefile/execute");
|
|
19
21
|
const transport_1 = require("./shared/transport");
|
|
20
22
|
class WeCom {
|
|
21
23
|
constructor() {
|
|
@@ -26,29 +28,36 @@ class WeCom {
|
|
|
26
28
|
group: ['transform'],
|
|
27
29
|
version: 1,
|
|
28
30
|
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
29
|
-
description: '
|
|
31
|
+
description: '与企业微信 API 交互',
|
|
30
32
|
defaults: {
|
|
31
33
|
name: '企业微信',
|
|
32
34
|
},
|
|
33
|
-
usableAsTool: true,
|
|
34
35
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
35
36
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
36
37
|
credentials: [
|
|
37
38
|
{
|
|
38
|
-
name: '
|
|
39
|
+
name: 'weComApi',
|
|
39
40
|
required: true,
|
|
40
41
|
displayOptions: {
|
|
41
42
|
show: {
|
|
42
|
-
resource: [
|
|
43
|
+
resource: [
|
|
44
|
+
'message',
|
|
45
|
+
'appChat',
|
|
46
|
+
'contact',
|
|
47
|
+
'material',
|
|
48
|
+
'linkedcorp',
|
|
49
|
+
'wedoc',
|
|
50
|
+
'wefile',
|
|
51
|
+
],
|
|
43
52
|
},
|
|
44
53
|
},
|
|
45
54
|
},
|
|
46
55
|
{
|
|
47
|
-
name: '
|
|
56
|
+
name: 'weComWebhookApi',
|
|
48
57
|
required: true,
|
|
49
58
|
displayOptions: {
|
|
50
59
|
show: {
|
|
51
|
-
resource: ['
|
|
60
|
+
resource: ['pushMessage'],
|
|
52
61
|
},
|
|
53
62
|
},
|
|
54
63
|
},
|
|
@@ -73,9 +82,24 @@ class WeCom {
|
|
|
73
82
|
description: '企业互联和上下游管理',
|
|
74
83
|
},
|
|
75
84
|
{
|
|
76
|
-
name: '
|
|
77
|
-
value: '
|
|
78
|
-
description: '
|
|
85
|
+
name: '群聊会话',
|
|
86
|
+
value: 'appChat',
|
|
87
|
+
description: '获取群聊会话和发送消息到群聊会话',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: '素材管理',
|
|
91
|
+
value: 'material',
|
|
92
|
+
description: '上传和管理素材文件',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: '通讯录',
|
|
96
|
+
value: 'contact',
|
|
97
|
+
description: '获取通讯录信息(成员、部门)',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: '微盘',
|
|
101
|
+
value: 'wefile',
|
|
102
|
+
description: '管理微盘空间和文件',
|
|
79
103
|
},
|
|
80
104
|
{
|
|
81
105
|
name: '文档',
|
|
@@ -88,19 +112,9 @@ class WeCom {
|
|
|
88
112
|
description: '通过群机器人 Webhook 发送消息到群聊',
|
|
89
113
|
},
|
|
90
114
|
{
|
|
91
|
-
name: '
|
|
92
|
-
value: '
|
|
93
|
-
description: '
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: '群聊会话',
|
|
97
|
-
value: 'appChat',
|
|
98
|
-
description: '获取群聊会话和发送消息到群聊会话',
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
name: '通讯录',
|
|
102
|
-
value: 'contact',
|
|
103
|
-
description: '获取通讯录信息(成员、部门)',
|
|
115
|
+
name: '应用消息',
|
|
116
|
+
value: 'message',
|
|
117
|
+
description: '发送各类消息(文本、图片、文件等)',
|
|
104
118
|
},
|
|
105
119
|
],
|
|
106
120
|
default: 'pushMessage',
|
|
@@ -112,7 +126,9 @@ class WeCom {
|
|
|
112
126
|
...material_1.materialDescription,
|
|
113
127
|
...linkedcorp_1.linkedcorpDescription,
|
|
114
128
|
...wedoc_1.wedocDescription,
|
|
129
|
+
...wefile_1.wefileDescription,
|
|
115
130
|
],
|
|
131
|
+
usableAsTool: true,
|
|
116
132
|
};
|
|
117
133
|
this.methods = {
|
|
118
134
|
loadOptions: {
|
|
@@ -209,6 +225,9 @@ class WeCom {
|
|
|
209
225
|
else if (resource === 'wedoc') {
|
|
210
226
|
returnData = await execute_7.executeWedoc.call(this, operation, items);
|
|
211
227
|
}
|
|
228
|
+
else if (resource === 'wefile') {
|
|
229
|
+
returnData = await execute_8.executeWefile.call(this, operation, items);
|
|
230
|
+
}
|
|
212
231
|
return [returnData];
|
|
213
232
|
}
|
|
214
233
|
}
|