diff --git a/server/analyseapi/metamgr.go b/server/analyseapi/metamgr.go index ca62307..5856d49 100644 --- a/server/analyseapi/metamgr.go +++ b/server/analyseapi/metamgr.go @@ -9,7 +9,7 @@ import ( const ( MT_SERVER_INFO = 0 MT_ALI_KEY = iota - MT_LAUNCH_WHITE_LIST + MT_SCENE_WHITE_LIST MT_LAUNCH_BLACK_LIST MT_BLOCK_PROVINCE_CITY MT_MAX @@ -46,7 +46,7 @@ func (this *MetaMgr) Init() *MetaMgr { WrapMeta: (*MtwAliKeyConf)(nil)}, f5.MetaClass{ FileName: configDir + "scene_whitelist.json", - Idx: MT_LAUNCH_WHITE_LIST, + Idx: MT_SCENE_WHITE_LIST, RawMeta: (*mt.SceneWhiteListMetas)(nil), WrapMeta: (*MtwSceneWhiteList)(nil)}, f5.MetaClass{ @@ -109,7 +109,7 @@ func (this *MetaMgr) GetAliKey() *MtwAliKeyConf { } func (this *MetaMgr) GetSceneWhiteList() *MtwSceneWhiteList { - v, ok := this.MetaMgr.GetMetaById(MT_LAUNCH_WHITE_LIST, 1).(*MtwSceneWhiteList) + v, ok := this.MetaMgr.GetMetaById(MT_SCENE_WHITE_LIST, 1).(*MtwSceneWhiteList) if ok { return v } else {