优化交易取消逻辑并更新相关数据结构;修复套餐用量统计接口问题

This commit is contained in:
2025-06-23 18:32:20 +08:00
parent 20aa3d929c
commit 2fd17dde22
6 changed files with 49 additions and 24 deletions

View File

@@ -82,4 +82,9 @@ func ApplyRouters(app *fiber.App) {
app.Get("/test", func(c *fiber.Ctx) error {
return core.NewBizErr("测试错误")
})
// 异步任务客户端
tasks := api.Group("/tasks")
tasks.Post("/channel/remove", handlers.RemoveChannelByTask)
tasks.Post("/trade/cancel", handlers.TradeCancelByTask)
}