Files
backend_fiesta/routes/utilsroutes.go
2026-05-25 11:52:26 +05:30

30 lines
994 B
Go

package routes
import (
"nearle/facade"
"github.com/gofiber/fiber/v2"
)
func RegisterUtilsRoutes(api fiber.Router, f *facade.Facade) {
utils := api.Group("/v1/web/utils")
utils.Get("/getapptypes", f.UtilsController.GetAppTypes)
// utils.Post("/notifyuser", f.UtilsController.NotifyUser)
utils.Get("/getsubcategories", f.UtilsController.GetSubcategories)
utils.Get("/getapplocations", f.UtilsController.GetApplocations)
utils.Get("/getappcategories", f.UtilsController.GetAppCategory)
utils = api.Group("/v1/mob/utils")
utils.Get("/getapplocationconfig", f.UtilsController.GetApplocationConfig)
// utils.Post("/notifyadmin", f.UtilsController.NotifyAdmin)
utils.Get("/getapplocations", f.UtilsController.GetApplocations)
utils.Get("/getapptypes", f.UtilsController.GetAppTypes)
utils.Get("/getappconfig", f.UtilsController.GetAppConfig)
utils.Get("/getsubcategories", f.UtilsController.GetSubcategories)
utils.Get("/getappcategories", f.UtilsController.GetAppCategory)
}