From f07d7ba39ec01a865520e65f469baf70df00d4b3 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 14 Jan 2021 13:46:41 +0800 Subject: [PATCH] 1 --- server/analyseapi/metamgr.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {