v1

package
v0.0.0-...-25930e8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoReq

type InfoReq struct {
	g.Meta `path:"info" method:"get" sm:"获取登录信息" tags:"账户"`
}

type InfoRes

type InfoRes struct {
	Username  string      `json:"username" dc:"用户名"`
	Nickname  string      `json:"nickname" dc:"昵称"`
	Avatar    string      `json:"avatar" dc:"头像"`
	Register  *gtime.Time `json:"register" dc:"注册时间"`
	LastLogin *gtime.Time `json:"lastLogin" dc:"最后登录时间"`
}

type LogoutReq

type LogoutReq struct {
	g.Meta `path:"logout" method:"post" sm:"登出" tags:"账户"`
	Token  string
}

type LogoutRes

type LogoutRes struct {
	Result bool
}

Jump to

Keyboard shortcuts

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