This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user