controller

package
v0.0.0-...-07bc221 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppCreate

func AppCreate(c *gin.Context)

AppCreate @description: 创建应用 @route: POST /app/create

func AppDel

func AppDel(c *gin.Context)

AppDel @description: 删除app @route: DELETE /app/:id

func AppEdit

func AppEdit(c *gin.Context)

AppEdit @description: 编辑应用 @route: PUT /app/:id

func AppGetList

func AppGetList(c *gin.Context)

AppGetList @desc 获取用户app列表 @route GET /app/list

func AppInfo

func AppInfo(c *gin.Context)

AppInfo @description: 获取app详细信息 GET /app/:id

func AppReGenerateSecret

func AppReGenerateSecret(c *gin.Context)

AppReGenerateSecret @description: 重新生成secret

func ForgetPasswordCode

func ForgetPasswordCode(c *gin.Context)

ForgetPasswordCode @description 忘记密码发送邮件 @router POST /forget/password/code

func ForgetPasswordUpdate

func ForgetPasswordUpdate(c *gin.Context)

ForgetPasswordUpdate @description 忘记密码重置 @router PATCH /forget/password/update

func Login

func Login(c *gin.Context)

func Ping

func Ping(c *gin.Context)

func RegisterCode

func RegisterCode(c *gin.Context)

RegisterCode @description send code to email @route POST /register/code

func RegisterSubmit

func RegisterSubmit(c *gin.Context)

RegisterSubmit @description do register @route POST /register

func UserEmailUpdate

func UserEmailUpdate(c *gin.Context)

UserEmailUpdate @description 修改用户邮箱 @router PATCH /user/email/update

func UserEmailUpdateCode

func UserEmailUpdateCode(c *gin.Context)

UserEmailUpdateCode @description 修改邮箱 的 发送邮箱验证码 至新邮箱 @router POST /user/email/update/code

func UserInfo

func UserInfo(c *gin.Context)

UserInfo @description 获取用户信息 @router GET /user/info

func UserLogout

func UserLogout(c *gin.Context)

UserLogout @description 用户退出

func UserPasswordUpdate

func UserPasswordUpdate(c *gin.Context)

UserPasswordUpdate @description 修改用户密码 @router PATCH /user/password/update

func UserStatus

func UserStatus(c *gin.Context)

UserStatus @description 判断用户登录状态 @router GET /user/status

Types

This section is empty.

Jump to

Keyboard shortcuts

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