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 ¶
func (m *WebQQLogin) GetOpenId(token string, code string) (string, error)
获取 openId
func (*WebQQLogin) GetToken ¶
func (m *WebQQLogin) GetToken(code string) (map[string]string, error)
获取 toen
type WebWXLogin ¶
func (*WebWXLogin) Back ¶
func (m *WebWXLogin) Back(ctx *gin.Context, session sessions.Session) (WebWXUserInfo, error)
授权后返回处理
type WebWXToken ¶
Click to show internal directories.
Click to hide internal directories.