key.go 338 字节
package redisdata

const (
	KEY_PREFIX     string = "oppmg_" //统一前缀
	KEY_USER_TOKEN string = "token"  //登录token存储
)

type RedisLoginToken struct {
	AccessToken    string `json:"access_token"`
	RefreshToken   string `json:"refresh_token"`
	CurrentCompany int64  `json:"current_company"`
	IsOk           bool   `json:"-"`
}