user

package
v0.0.0-...-8103e8d Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: GPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveAccount

func ActiveAccount(c *gin.Context)

ActiveAccount 激活账号

func ActiveSendMail

func ActiveSendMail(c *gin.Context)

ActiveSendMail 发送激活账号的邮件

func AddCareer

func AddCareer(c *gin.Context)

AddCareer 添加职业经历

func AddSchool

func AddSchool(c *gin.Context)

AddSchool 添加教育经历

func AllList

func AllList(c *gin.Context)

AllList 查询用户列表,只有管理员才能调此接口

func DeleteCareer

func DeleteCareer(c *gin.Context)

DeleteCareer 删除职业经历

func DeleteSchool

func DeleteSchool(c *gin.Context)

DeleteSchool 删除教育经历

func InfoDetail

func InfoDetail(c *gin.Context)

InfoDetail 返回用户详情信息(教育经历、职业经历等),包含一些私密字段

func PublicInfo

func PublicInfo(c *gin.Context)

PublicInfo 用户公开的信息

func ResetPassword

func ResetPassword(c *gin.Context)

ResetPassword 重置密码

func ResetPasswordMail

func ResetPasswordMail(c *gin.Context)

ResetPasswordMail 发送重置密码的邮件

func SecretInfo

func SecretInfo(c *gin.Context)

SecretInfo 返回用户信息,包含一些私密字段

func Signin

func Signin(c *gin.Context)

Signin 用户登录

func Signout

func Signout(c *gin.Context)

Signout 退出登录

func Signup

func Signup(c *gin.Context)

Signup 用户注册

func Top10

func Top10(c *gin.Context)

Top10 返回积分排名前10的用户

func Top100

func Top100(c *gin.Context)

Top100 返回积分排名前100的用户

func UpdateInfo

func UpdateInfo(c *gin.Context)

UpdateInfo 更新用户信息

func UpdatePassword

func UpdatePassword(c *gin.Context)

UpdatePassword 更新用户密码

func UploadAvatar

func UploadAvatar(c *gin.Context)

UploadAvatar 上传用户头像

func VerifyResetPasswordLink(c *gin.Context)

VerifyResetPasswordLink 验证重置密码的链接是否失效

Types

This section is empty.

Jump to

Keyboard shortcuts

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