You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
693 B
Go

package system
import (
"github.com/gin-gonic/gin"
v1 "miniapp/api/v1"
)
type AuthorityBtnRouter struct{}
func (s *AuthorityBtnRouter) InitAuthorityBtnRouterRouter(Router *gin.RouterGroup) {
//authorityRouter := Router.Group("authorityBtn").Use(middleware.OperationRecord())
authorityRouterWithoutRecord := Router.Group("authorityBtn")
authorityBtnApi := v1.ApiGroupApp.SystemApiGroup.AuthorityBtnApi
{
authorityRouterWithoutRecord.POST("getAuthorityBtn", authorityBtnApi.GetAuthorityBtn)
authorityRouterWithoutRecord.POST("setAuthorityBtn", authorityBtnApi.SetAuthorityBtn)
authorityRouterWithoutRecord.POST("canRemoveAuthorityBtn", authorityBtnApi.CanRemoveAuthorityBtn)
}
}