Merge pull request 'feat-IRONFANS-86-Robin' (#383) from feat-IRONFANS-86-Robin into main
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/383
This commit is contained in:
commit
a3c29a0c6b
|
@ -3,7 +3,7 @@ package apollostruct
|
|||
import "service/dbstruct"
|
||||
|
||||
type PlatformCfg struct {
|
||||
Name string `json:"name"`
|
||||
Icon *dbstruct.MediaComponent `json:"icon"`
|
||||
DelFlag int64 `json:"del_flag"`
|
||||
Name string `json:"name"`
|
||||
Icon *dbstruct.MediaComponent `json:"icon"`
|
||||
IsDeleted int64 `json:"is_deleted"`
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ func (s *ConfigService) OpGetPlatformList(ctx *gin.Context) (platformMap map[int
|
|||
logger.Error("Apollo read failed : %v", err)
|
||||
return nil, errcode.ErrCodeApolloReadFail
|
||||
}
|
||||
if cfg.DelFlag == 0 {
|
||||
if cfg.IsDeleted == 0 {
|
||||
platformMap[int64(i)] = cfg
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue