2024-01-02 14:04:16 +00:00
|
|
|
package adminkindboxreqhandler
|
|
|
|
|
|
|
|
import (
|
2024-01-02 15:35:26 +00:00
|
|
|
echo "github.com/labstack/echo/v4"
|
2024-01-02 14:04:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func (h Handler) SetRoutes(e *echo.Echo) {
|
|
|
|
r := e.Group("/admin/kindboxreqs")
|
|
|
|
|
2024-01-16 16:13:06 +00:00
|
|
|
//nolint:gocritic
|
|
|
|
//r.POST("/", h.Add).Name = "admin-addkindboxreq"
|
2024-01-02 15:35:26 +00:00
|
|
|
r.GET("/:id", h.Get).Name = "admin-getkindboxreqbyid"
|
|
|
|
r.GET("/", h.GetAll).Name = "admin-getallkindboxreq"
|
2024-01-16 16:13:06 +00:00
|
|
|
//nolint:gocritic
|
|
|
|
//r.PATCH("/:id", h.Update).Name = "admin-updatekindboxreq"
|
2024-01-02 14:04:16 +00:00
|
|
|
}
|