修复企微的问题
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m15s

This commit is contained in:
2026-07-27 17:04:32 +08:00
parent cbf909b878
commit 072ec1db7e
15 changed files with 511 additions and 229 deletions

View File

@@ -9,6 +9,8 @@ const (
IntegrationOperationWeComAccessToken = "get_access_token"
// IntegrationOperationWeComVisibleMembers 表示获取应用可见成员。
IntegrationOperationWeComVisibleMembers = "list_visible_members"
// IntegrationOperationWeComVisibleDepartments 表示获取应用可见部门。
IntegrationOperationWeComVisibleDepartments = "list_visible_departments"
// IntegrationOperationWeComTemplateDetail 表示获取企微审批模板详情。
IntegrationOperationWeComTemplateDetail = "get_template_detail"
// IntegrationOperationWeComAttachmentUpload 表示上传审批附件临时素材。
@@ -41,8 +43,6 @@ const (
WeComDefaultHTTPTimeout = 10 * time.Second
// WeComDirectoryMaxResponseBodyBytes 表示通讯录响应正文允许读取的最大字节数。
WeComDirectoryMaxResponseBodyBytes int64 = 10 << 20
// WeComRootDepartmentID 表示企业微信根部门 ID。
WeComRootDepartmentID int64 = 1
// WeComMemberSyncBatchSize 表示可见成员快照批量写入大小。
WeComMemberSyncBatchSize = 500
// WeComApprovalMaxAttachmentCount 表示单张企微审批单最多允许的附件数量。