smartcloud

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(c *gin.Context)

获取找回用户凭证

func InitSmartCloudRouter

func InitSmartCloudRouter(r gin.IRouter)

Types

type GetTokenReq added in v1.9.1

type GetTokenReq struct {
	Type   int `uri:"type"`
	UserID int `uri:"id"`
}

type GetTokenResp

type GetTokenResp struct {
	Token string `json:"token"`
}

func GetCloudDiskToken added in v1.9.1

func GetCloudDiskToken(userInfo entity.User, c *gin.Context) (resp GetTokenResp, err error)

func UpdateSAUserToken added in v1.9.1

func UpdateSAUserToken(userInfo entity.User, c *gin.Context) (resp GetTokenResp, err error)

Jump to

Keyboard shortcuts

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