Documentation ¶
Index ¶
- func ConvertToMap(str string) map[string]string
- type WebQQLogin
- func (m *WebQQLogin) GetOpenId(token string, code string) (string, error)
- func (m *WebQQLogin) GetToken(code string) (map[string]string, error)
- func (m *WebQQLogin) GetUser(ctx *gin.Context, session sessions.Session) (map[string]any, error)
- func (m *WebQQLogin) Login(ctx *gin.Context, session sessions.Session)
- type WebWXLogin
- type WebWXToken
- type WebWXUserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WebQQLogin ¶
func (*WebQQLogin) GetOpenId ¶ added in v1.5.3
func (m *WebQQLogin) GetOpenId(token string, code string) (string, error)
获取 openId
func (*WebQQLogin) GetToken ¶ added in v1.5.3
func (m *WebQQLogin) GetToken(code string) (map[string]string, error)
获取 toen
type WebWXLogin ¶ added in v1.3.3
func (*WebWXLogin) Back ¶ added in v1.5.3
func (m *WebWXLogin) Back(ctx *gin.Context, session sessions.Session) (WebWXUserInfo, error)
授权后返回处理
type WebWXToken ¶ added in v1.3.3
Click to show internal directories.
Click to hide internal directories.