add clear unpaid order functions

This commit is contained in:
RockYang
2024-08-07 18:00:28 +08:00
parent 1d0006ce59
commit 167c59a159
4 changed files with 34 additions and 3 deletions

View File

@@ -392,6 +392,7 @@ func main() {
group := s.Engine.Group("/api/admin/order/")
group.POST("list", h.List)
group.GET("remove", h.Remove)
group.GET("clear", h.Clear)
}),
fx.Invoke(func(s *core.AppServer, h *handler.OrderHandler) {
group := s.Engine.Group("/api/order/")