feat: user logout
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / aiserver (push) Successful in 0s
CI / analysis (push) Successful in 1s
CI / bff (push) Successful in 0s
CI / chore (push) Successful in 1s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 26s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s

This commit is contained in:
zzw
2026-11-04 14:52:48 +08:00
parent 582174a8bd
commit 13cd7a81df
+1 -1
View File
@@ -62,7 +62,7 @@ func (l *LogoutLogic) Logout(in *user.LogoutReq) (*user.Response, error) {
} }
_ = redis.Client.Del(l.ctx, redisKeysKey).Err() _ = redis.Client.Del(l.ctx, redisKeysKey).Err()
return okResponse(utils.NumberOne), nil return okResponse(nil), nil
} }
func resolveLoginCacheType(loginUser utils.UserInfo) (string, error) { func resolveLoginCacheType(loginUser utils.UserInfo) (string, error) {