users

package
v0.0.0-...-31439ab Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BanUser

func BanUser(svc *svc.Svc) gin.HandlerFunc

func RetrievePasswordWithAdmin

func RetrievePasswordWithAdmin(svc *svc.Svc) gin.HandlerFunc

func UserBaseResult

func UserBaseResult(svc *svc.Svc) gin.HandlerFunc

func Users

func Users(svc *svc.Svc) gin.HandlerFunc

todo 热门查询

Types

type BanUserReq

type BanUserReq struct {
	UserId    uint   `json:"UserIds"`
	Ban       bool   `json:"Ban"`
	BanReason string `json:"BanReason"`
}

type ResetPasswordReq

type ResetPasswordReq struct {
	UserId uint `json:"userId"`
}

type UserBaseResultReq

type UserBaseResultReq struct {
	CubeId string `uri:"cubeId"`
}

type UserBaseResultResp

type UserBaseResultResp struct {
	public.User
	Detail _interface.UserResultDetail `json:"Detail"`
	Best   _interface.PlayerBestResult `json:"BestResults"`
}

Jump to

Keyboard shortcuts

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