触发通知轮询
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

@@ -18,4 +18,12 @@ func registerPackageExpiryRoutes(router fiber.Router, handler *admin.AssetHandle
Output: new(dto.ExpiringAssetListResponse),
Auth: true,
})
Register(router, doc, basePath, "POST", "/expiring-assets/reminder-scan", handler.TriggerPackageExpiryReminder, RouteSpec{
Summary: "手动触发套餐临期提醒扫描",
Description: "仅超级管理员可调用。立即提交与每日 03:00 相同的 15、7、3 天节点扫描任务;任务异步执行并沿用通知防重,不生成临期列表快照。",
Tags: []string{"资产管理"},
Output: new(dto.TriggerPackageExpiryReminderResponse),
Auth: true,
})
}