Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthCodeURL ¶
Types ¶
type UserInfo ¶
type UserInfo struct { Id int64 `json:"id"` Email string `json:"email"` Name string `json:"name"` Gender string `json:"gender"` Avatar string `json:"avatar"` Location string `json:"location"` Url string `json:"url"` }
func GetUserInfo ¶
GetUserInfo 根据accessToken获取用户信息
func GetUserInfoByCode ¶
GetUserInfoByCode 根据code获取用户信息 流程为先使用code换取accessToken,然后根据accessToken获取用户信息
Click to show internal directories.
Click to hide internal directories.