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.
21 lines
679 B
21 lines
679 B
package menusrouters
|
|
|
|
import (
|
|
"appPlatform/api/version1"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// 权限管理PC端
|
|
func (a *ApiRouter) RouterGroupPc(router *gin.RouterGroup) {
|
|
apiRouter := router.Group("menus")
|
|
|
|
var methodBinding = version1.AppApiEntry.MenusApi
|
|
{
|
|
apiRouter.GET("", methodBinding.Index) //入口
|
|
apiRouter.POST("", methodBinding.Index) //入口
|
|
apiRouter.GET("get_routers_three", methodBinding.GetMenusThree) //获取路由树
|
|
apiRouter.GET("get_menus_three", methodBinding.GetMenusListTree) //获取菜单树
|
|
apiRouter.GET("menu_options", methodBinding.MenuOptions) //菜单下拉列表
|
|
}
|
|
}
|
|
|