LogServerHelperHttp.cs 552 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections;
  3. using UnityEngine;
  4. namespace GFGGame
  5. {
  6. public class LogServerHelperHttp
  7. {
  8. /// <summary>
  9. /// 发送节点日志
  10. /// </summary>
  11. /// <param name="node"></param>
  12. public static void SendNodeLog(int node)
  13. {
  14. var body = $"?logStr={LauncherConfig.platformId}|{DeviceUniqueIdHelper.GetDeviceUniqueId()}|{node}|{LauncherConfig.ChannelId}";
  15. HttpTool.Instance.Get(LauncherConfig.logApiReportLauncherUrl + body, null,false);
  16. }
  17. }
  18. }