Documentation ¶
Index ¶
- func AddAPI(c *gin.Context)
- func AddAPP(c *gin.Context)
- func AddMenu(c *gin.Context)
- func AddRole(c *gin.Context)
- func AddTenant(c *gin.Context)
- func AddTitle(c *gin.Context)
- func AddUser(c *gin.Context)
- func ChangePwd(c *gin.Context)
- func CopyTenant(c *gin.Context)
- func DeleteAPI(c *gin.Context)
- func DeleteAPP(c *gin.Context)
- func DeleteMenu(c *gin.Context)
- func DeleteRole(c *gin.Context)
- func DeleteTenant(c *gin.Context)
- func DeleteTitle(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func EnableAPI(c *gin.Context)
- func EnableTenant(c *gin.Context)
- func EnableUser(c *gin.Context)
- func GetAPIDetail(c *gin.Context)
- func GetAPPDetail(c *gin.Context)
- func GetAllAPI(c *gin.Context)
- func GetAllAPP(c *gin.Context)
- func GetAllRole(c *gin.Context)
- func GetAllTenant(c *gin.Context)
- func GetAllTitle(c *gin.Context)
- func GetAllUser(c *gin.Context)
- func GetMenuDetail(c *gin.Context)
- func GetMenuTree(c *gin.Context)
- func GetRoleDetail(c *gin.Context)
- func GetTenantDetail(c *gin.Context)
- func GetTitleDetail(c *gin.Context)
- func GetUserDetail(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func Profile(c *gin.Context)
- func QueryAPI(c *gin.Context)
- func QueryAPP(c *gin.Context)
- func QueryMenu(c *gin.Context)
- func QueryRole(c *gin.Context)
- func QueryTenant(c *gin.Context)
- func QueryTitle(c *gin.Context)
- func QueryUser(c *gin.Context)
- func RegisterAuthRouter(r *gin.Engine)
- func RegisterTenantRouter(r *gin.Engine)
- func ResetPwd(c *gin.Context)
- func UpdateAPI(c *gin.Context)
- func UpdateAPP(c *gin.Context)
- func UpdateMenu(c *gin.Context)
- func UpdateRole(c *gin.Context)
- func UpdateTenant(c *gin.Context)
- func UpdateTitle(c *gin.Context)
- func UpdateUser(c *gin.Context)
- type ChangePwdRequest
- type ResetPwdRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAPI ¶
AddAPI godoc @Summary 新增API @Description 新增API @Tags API管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.APIInfo true "Add API" @Success 200 {object} apipb.CommonResponse @Router /api/core/auth/api/add [post]
func CopyTenant ¶
func DeleteAPI ¶
DeleteAPI godoc @Summary 删除API @Description 软删除API @Tags API管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.DelRequest true "Delete API" @Success 200 {object} apipb.CommonResponse @Router /api/core/auth/api/delete [delete]
func DeleteMenu ¶
func DeleteRole ¶
func DeleteTenant ¶
func DeleteTitle ¶
func DeleteUser ¶
func EnableAPI ¶
EnableAPI godoc @Summary 禁用/启用API @Description 禁用/启用API @Tags API管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.EnableRequest true "Enable/Disable API" @Success 200 {object} apipb.CommonResponse @Router /api/core/auth/api/enable [post]
func EnableTenant ¶
func EnableUser ¶
func GetAPIDetail ¶
GetAPIDetail godoc @Summary 查询明细 @Description 查询明细 @Tags API管理 @Accept json @Produce json @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetAPIDetailResponse @Router /api/core/auth/api/detail [get]
func GetAPPDetail ¶
func GetAllAPI ¶
GetAllAPI godoc @Summary 查询所有API @Description 查询所有API @Tags API管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetAllAPIResponse @Router /api/core/auth/api/all [get]
func GetAllRole ¶
func GetAllTenant ¶
func GetAllTitle ¶
func GetAllUser ¶
func GetMenuDetail ¶
func GetMenuTree ¶
func GetRoleDetail ¶
func GetTenantDetail ¶
func GetTitleDetail ¶
func GetUserDetail ¶
func QueryAPI ¶
QueryAPI godoc @Summary 分页查询 @Description 分页查询 @Tags API管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param path query string false "路径" @Param method query string false "方法" @Param group query string false "分组" @Param checkAuth query string false "是否检查权限" @Param checkLogin query string false "是否需要登录" @Success 200 {object} apipb.QueryAPIResponse @Router /api/core/auth/api/query [get]
func QueryTenant ¶
func QueryTitle ¶
func RegisterAuthRouter ¶
func RegisterTenantRouter ¶
func UpdateAPI ¶
UpdateAPI godoc @Summary 更新API @Description 更新API @Tags API管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.APIInfo true "Update API" @Success 200 {object} apipb.CommonResponse @Router /api/core/auth/api/update [put]
func UpdateMenu ¶
func UpdateRole ¶
func UpdateTenant ¶
func UpdateTitle ¶
func UpdateUser ¶
Types ¶
type ChangePwdRequest ¶
type ResetPwdRequest ¶
type ResetPwdRequest struct { model.CommonRequest ID string `json:"id" form:"id" uri:"id"` }