优化交易取消逻辑并更新相关数据结构;修复套餐用量统计接口问题
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user