You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
359 B
16 lines
359 B
package controller
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"sorbet/internal/entities"
|
|
"sorbet/internal/services/system/request"
|
|
"sorbet/pkg/app"
|
|
)
|
|
|
|
type SystemRoleController struct {
|
|
app.Controller[entities.SystemRole, request.SystemRoleUpsertRequest]
|
|
}
|
|
|
|
func (s *SystemRoleController) InitRoutes(r *echo.Group) {
|
|
s.RegisterRoutes("/system/roles", r)
|
|
}
|
|
|