Skip to content

[BUG] redis save error when KickTokens #2998

@1978mountain

Description

@1978mountain

OpenIM Server Version

3.8.2

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

func (c *tokenCache) BatchSetTokenMapByUidPid(ctx context.Context, tokens map[string]map[string]int) error
提示
"error": "Error: redis: can't marshal map[string]int (implement encoding.BinaryMarshaler)
需要转换为map[string]string

Screenshots Link

No response

Metadata

Metadata

Assignees

Labels

bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions