This commit is contained in:
2026-08-15 01:58:41 +08:00
parent e55fb57432
commit 1a5969897a
32 changed files with 687 additions and 475 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ import (
"github.com/gin-gonic/gin"
)
type Authority struct{ service *service.AccessService }
type Authority struct{ service *service.AuthorityService }
func NewAuthority(service *service.AccessService) *Authority { return &Authority{service: service} }
func NewAuthority(service *service.AuthorityService) *Authority { return &Authority{service: service} }
func (h *Authority) List(c *gin.Context) {
items, err := h.service.Authorities(c.Request.Context())