conversation update

This commit is contained in:
Gordon
2021-12-29 11:31:51 +08:00
parent 23c5f4040e
commit 6a37072b9a
10 changed files with 447 additions and 495 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ func CreateToken(userID string, platformID int32) (string, int64, error) {
}
var deleteTokenKey []string
for k, v := range m {
if v != constant.NormalToken {
_, err = GetClaimFromToken(k)
if err != nil || v != constant.NormalToken {
deleteTokenKey = append(deleteTokenKey, k)
}
}