customer/internal/interface/controller/http/route.go

31 lines
1.2 KiB
Go
Raw Normal View History

2024-05-20 12:32:59 +00:00
package http
//func (api *API2) Register(router fiber.Router) {
// router.Delete("/account", api.DeleteAccount)
// router.Get("/account", api.GetAccount)
// router.Patch("/account", api.ChangeAccount)
// router.Post("/account", api.AddAccount)
// router.Delete("/account/:userId", api.DeleteDirectAccount)
// router.Get("/account/:userId", api.GetDirectAccount)
// router.Patch("/account/:userId", api.SetAccountVerificationStatus)
// router.Get("/accounts", api.PaginationAccounts)
// router.Delete("/cart", api.RemoveFromCart)
// router.Patch("/cart", api.Add2cart)
// router.Post("/cart/pay", api.PayCart)
// router.Get("/currencies", api.GetCurrencies)
// router.Put("/currencies", api.UpdateCurrencies)
// router.Get("/history", api.GetHistory)
// router.Post("/history/ltv", api.CalculateLTV)
// router.Post("/promocode/ltv", api.PromocodeLTV)
// router.Post("/quizlogo/stat", api.QuizLogoStat)
// router.Get("/recent", api.GetRecentTariffs)
// router.Post("/sendReport", api.SendReport)
// router.Patch("/wallet", api.ChangeCurrency)
// router.Post("/wallet", api.RequestMoney)
// router.Post("/wallet/rspay", api.PostWalletRspay)
//}
//
//func (api *API2) Name() string {
// return ""
//}