api

package
v0.0.0-...-81f72a3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeAvatar

func ChangeAvatar(c *gin.Context)

修改头像

func ChangeNickname

func ChangeNickname(c *gin.Context)

修改昵称

func ChangeUserPassword

func ChangeUserPassword(c *gin.Context)

修改密码

func GeneratePath

func GeneratePath(s string) string

func GetCaptcha

func GetCaptcha(c *gin.Context)

func GetFileExt

func GetFileExt(s string) (string, error)

func GetImageSize

func GetImageSize(img image.Rectangle) (int, int)

func GetUserInfo

func GetUserInfo(c *gin.Context)

获取用户基本信息

func GetUserProfile

func GetUserProfile(c *gin.Context)

func Login

func Login(c *gin.Context)

用户登录

func Register

func Register(c *gin.Context)

用户注册

func UploadAttachment

func UploadAttachment(c *gin.Context)

func Version

func Version(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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