authRoleApi

package
v0.0.0-...-7dcfe9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(ctx iris.Context)

func Del

func Del(ctx iris.Context)

func DelUserRole

func DelUserRole(ctx iris.Context)

func GetRoleList

func GetRoleList(ctx iris.Context)

获取角色列表

Types

type AuthRoleReq

type AuthRoleReq struct {
	Uid int `json:"uid"`
	Rid int `json:"rid"`
}

type AuthRoleResp

type AuthRoleResp struct {
	app.Response
}

type RespRoleInfo

type RespRoleInfo struct {
	Id              int    `json:"id,omitempty"`
	RoleName        string `json:"roleName,omitempty"`
	RoleDescription string `json:"roleDesc,omitempty"`
	Status          int    `json:"status,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL