This commit is contained in:
@@ -6591,6 +6591,12 @@ components:
|
||||
description: 总数
|
||||
type: integer
|
||||
type: object
|
||||
DtoInspectWeComTemplateParams:
|
||||
properties:
|
||||
template_id:
|
||||
description: 企微后台已创建模板 ID
|
||||
type: string
|
||||
type: object
|
||||
DtoInvalidateFailedItem:
|
||||
properties:
|
||||
line:
|
||||
@@ -11082,6 +11088,42 @@ components:
|
||||
description: 本次同步的可见成员数量
|
||||
type: integer
|
||||
type: object
|
||||
DtoWeComTemplateControlResponse:
|
||||
properties:
|
||||
id:
|
||||
description: 企微模板控件 ID
|
||||
type: string
|
||||
option_keys:
|
||||
description: 选择控件可用选项 key
|
||||
items:
|
||||
type: string
|
||||
nullable: true
|
||||
type: array
|
||||
required:
|
||||
description: 是否必填
|
||||
type: boolean
|
||||
title:
|
||||
description: 企微模板控件标题
|
||||
type: string
|
||||
type:
|
||||
description: 企微模板控件类型
|
||||
type: string
|
||||
type: object
|
||||
DtoWeComTemplateDetailResponse:
|
||||
properties:
|
||||
controls:
|
||||
description: 可用于业务字段映射的模板控件
|
||||
items:
|
||||
$ref: '#/components/schemas/DtoWeComTemplateControlResponse'
|
||||
nullable: true
|
||||
type: array
|
||||
name:
|
||||
description: 企微模板名称
|
||||
type: string
|
||||
template_id:
|
||||
description: 企微模板 ID
|
||||
type: string
|
||||
type: object
|
||||
DtoWechatAppIDResponse:
|
||||
properties:
|
||||
app_id:
|
||||
@@ -28633,6 +28675,78 @@ paths:
|
||||
summary: 同步企业微信应用可见成员
|
||||
tags:
|
||||
- 企业微信审批
|
||||
/api/admin/wecom/applications/{id}/templates/inspect:
|
||||
post:
|
||||
parameters:
|
||||
- description: ID
|
||||
in: path
|
||||
name: id
|
||||
required: true
|
||||
schema:
|
||||
description: ID
|
||||
minimum: 0
|
||||
type: integer
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/DtoInspectWeComTemplateParams'
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
code:
|
||||
description: 响应码
|
||||
example: 0
|
||||
type: integer
|
||||
data:
|
||||
$ref: '#/components/schemas/DtoWeComTemplateDetailResponse'
|
||||
msg:
|
||||
description: 响应消息
|
||||
example: success
|
||||
type: string
|
||||
timestamp:
|
||||
description: 时间戳
|
||||
format: date-time
|
||||
type: string
|
||||
required:
|
||||
- code
|
||||
- msg
|
||||
- data
|
||||
- timestamp
|
||||
type: object
|
||||
description: 成功
|
||||
"400":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 请求参数错误
|
||||
"401":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 未认证或认证已过期
|
||||
"403":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 无权访问
|
||||
"500":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ErrorResponse'
|
||||
description: 服务器内部错误
|
||||
security:
|
||||
- BearerAuth: []
|
||||
summary: 读取企业微信审批模板控件
|
||||
tags:
|
||||
- 企业微信审批
|
||||
/api/admin/wecom/applications/{id}/test:
|
||||
post:
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user