thirdPartyLogin

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WebQQLoginSets map[string]string

Functions

func ConvertToMap

func ConvertToMap(str string) map[string]string

url 转 map

func WebQQLogin

func WebQQLogin(ctx *gin.Context)

跳转到 QQ 登陆

func WebQQLoginGetOpenId added in v1.2.3

func WebQQLoginGetOpenId(token string, code string) (string, error)

获取 openId

func WebQQLoginGetToken added in v1.2.3

func WebQQLoginGetToken(code string) (map[string]string, error)

获取 toen

func WebQQLoginGetUser added in v1.2.3

func WebQQLoginGetUser(ctx *gin.Context) (map[string]any, error)

解析返回数据

Types

This section is empty.

Jump to

Keyboard shortcuts

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