触发通知轮询
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m23s

This commit is contained in:
2026-07-28 14:25:18 +08:00
parent 4aff9937e5
commit 9303af3d46
9 changed files with 228 additions and 1 deletions

View File

@@ -9889,6 +9889,15 @@ components:
description: 表名,为空则清理所有
type: string
type: object
DtoTriggerPackageExpiryReminderResponse:
properties:
message:
description: 任务提交结果说明
type: string
task_type:
description: 已提交的异步任务类型
type: string
type: object
DtoTriggerSingleReq:
properties:
card_id:
@@ -18959,6 +18968,65 @@ paths:
summary: 查询临期资产列表
tags:
- 资产管理
/api/admin/expiring-assets/reminder-scan:
post:
description: 仅超级管理员可调用。立即提交与每日 03:00 相同的 15、7、3 天节点扫描任务;任务异步执行并沿用通知防重,不生成临期列表快照。
responses:
"200":
content:
application/json:
schema:
properties:
code:
description: 响应码
example: 0
type: integer
data:
$ref: '#/components/schemas/DtoTriggerPackageExpiryReminderResponse'
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/export-tasks:
get:
description: 支持按 scene/status/time 过滤,分页默认 20最大 100。