This commit is contained in:
Leufolium 2024-04-29 22:36:45 +08:00
parent 4f20828005
commit 07aff915c0
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func (s *ConfigService) OpGetPlatformList(ctx *gin.Context) (platformMap map[int
logger.Error("Apollo read failed : %v", err) logger.Error("Apollo read failed : %v", err)
return nil, errcode.ErrCodeApolloReadFail return nil, errcode.ErrCodeApolloReadFail
} }
if cfg.DelFlag == 0 { if cfg.IsDeleted == 0 {
platformMap[int64(i)] = cfg platformMap[int64(i)] = cfg
} }
} }