小程序登录判断,如果没有openid就做标记
This commit is contained in:
@@ -69,10 +69,11 @@ type AuthInfo struct {
|
||||
UserBasic // 登录成功后保存的用户信息
|
||||
AuthBindInfo *AuthBindEx `json:"authBindInfo"`
|
||||
|
||||
LoginTime time.Time `json:"loginTime"`
|
||||
ExpiresAt int64 `json:"expiresAt"`
|
||||
Token string `json:"token"`
|
||||
TokenType int `json:"tokenType"` // TOKEN类型,
|
||||
LoginTime time.Time `json:"loginTime"`
|
||||
ExpiresAt int64 `json:"expiresAt"`
|
||||
Token string `json:"token"`
|
||||
TokenType int `json:"tokenType"` // TOKEN类型,
|
||||
IsExistOpenID bool `json:"isExistOpenID"`
|
||||
}
|
||||
|
||||
func (a *AuthInfo) GetAuthID() string {
|
||||
|
||||
Reference in New Issue
Block a user