style: linker
This commit is contained in:
@@ -6,13 +6,12 @@ import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type AuthorityRouter struct {
|
||||
}
|
||||
type AuthorityRouter struct{}
|
||||
|
||||
func (s *AuthorityRouter) InitAuthorityRouter(Router *gin.RouterGroup) {
|
||||
authorityRouter := Router.Group("authority").Use(middleware.OperationRecord())
|
||||
authorityRouterWithoutRecord := Router.Group("authority")
|
||||
var authorityApi = v1.ApiGroupApp.SystemApiGroup.AuthorityApi
|
||||
authorityApi := v1.ApiGroupApp.SystemApiGroup.AuthorityApi
|
||||
{
|
||||
authorityRouter.POST("createAuthority", authorityApi.CreateAuthority) // 创建角色
|
||||
authorityRouter.POST("deleteAuthority", authorityApi.DeleteAuthority) // 删除角色
|
||||
|
||||
Reference in New Issue
Block a user