|
|
@@ -43,7 +43,7 @@ func CheckToken(loginid string, token string, group string) error {
|
|
|
func CheckNewToken(loginid string, token string, group string) error {
|
|
|
key := fmt.Sprintf("m2a:login:%s:%s", loginid, group)
|
|
|
|
|
|
- field := "Token"
|
|
|
+ field := "token"
|
|
|
|
|
|
realToken, err := rediscli.GetRedisClient().HGet(key, field).Result()
|
|
|
if err != nil {
|