v1

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Captcha

func Captcha(c *gin.Context)

Captcha 用于登录时返回验证码 返回验证码ID、验证码图片base64编码

func GetUserInfo

func GetUserInfo(c *gin.Context)

TODO 测试用的,后续删掉 GetUserInfo: 获取用户信息(通过username或uuid)

func JsonInBlacklist

func JsonInBlacklist(c *gin.Context)

JsonInBlacklist 将jwt加入黑名单

func Login

func Login(c *gin.Context)

Login: 用户登录 输入用户名、密码、验证码进行登录

func Register

func Register(c *gin.Context)

Register: 用户注册 输入用户名、密码、昵称和头像进行注册,若昵称和头像为空,再自动填充默认值

Types

This section is empty.

Jump to

Keyboard shortcuts

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