Browse Source

引导完成上报日志,打点位置调整

hexiaojie 1 year ago
parent
commit
5ff4edb047

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Controller/GuideController.cs

@@ -203,8 +203,10 @@ namespace GFGGame
                     targetList = null;
                 }
                 MainDataManager.Instance.CanSwipe = true;
-
+                
+                LogServerHelper.SendNodeLog(GuideDataManager.currentGuideId * 100 + 2);
                 GuideDataManager.currentGuideId = 0;
+                
                 HideGuide();
             }
         }

+ 0 - 1
GameClient/Assets/Game/HotUpdate/Data/GuideDataManager.cs

@@ -37,7 +37,6 @@ namespace GFGGame
             }
             if (currentGuideId == guideId)
             {
-                LogServerHelper.SendNodeLog(GuideDataManager.currentGuideId * 100 + 2);
                 bool result = await StorageSProxy.ReqSetClientValue(ConstStorageId.STORAGE_GUIDE + guideId, 1);
                 return result;
             }

+ 2 - 2
GameClient/Assets/Game/Launcher/LauncherConfig.cs

@@ -28,8 +28,8 @@ namespace GFGGame
         public static int platformId = 1;
         //渠道id
         public static int ChannelId = 101;
-        public static string logApiRootUrl;
-        public static string logApiReportLauncherUrl;
+        public static string logApiRootUrl;//上报普通日志接口
+        public static string logApiReportLauncherUrl;//上报节点日志接口
         public static string apkVersion;
         public static int serverStatus;
         public static int onDebug;