mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
19 lines
427 B
Go
19 lines
427 B
Go
package permit_team
|
|
|
|
import (
|
|
"github.com/APIParkLab/APIPark/module/permit/team"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
var (
|
|
_ ITeamPermitController = (*imlTeamPermitController)(nil)
|
|
)
|
|
|
|
type imlTeamPermitController struct {
|
|
teamPermitModule team.ITeamPermitModule `autowired:""`
|
|
}
|
|
|
|
func (c *imlTeamPermitController) Permissions(ctx *gin.Context, team string) ([]string, error) {
|
|
return c.teamPermitModule.Permissions(ctx, team)
|
|
}
|