修复企微的问题
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

@@ -63,6 +63,13 @@ func registerWeComRoutes(router fiber.Router, handler *admin.WeComHandler, doc *
Output: new(dto.WeComMemberListResponse),
Auth: true,
})
Register(group, doc, groupPath, "POST", "/applications/:id/templates/inspect", handler.InspectTemplate, RouteSpec{
Summary: "读取企业微信审批模板控件",
Tags: []string{"企业微信审批"},
Input: new(dto.InspectWeComTemplateParams),
Output: new(dto.WeComTemplateDetailResponse),
Auth: true,
})
Register(group, doc, groupPath, "PUT", "/scenes/:business_type", handler.SaveScene, RouteSpec{
Summary: "保存并校验企业微信审批场景模板映射",
Tags: []string{"企业微信审批"},