NetWorkHeadersConfig.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class NetWorkHeadersConfig
  5. {
  6. //public const string Remote_Net_url = "http://192.168.202.36:8899";
  7. //public const string Remote_SocketHall_url = "wss://cgdemo.shadowcreator.com:8072/lobby?";
  8. //public const string Remote_SocketRtc_url = "wss://cgdemo.shadowcreator.com:8072/room?";
  9. //public const string Remote_Net_url = "https://webapi-fat.shadowcreator.com/100032";
  10. //public const string Remote_SocketHall_url = "wss://cloud-assistant.shadowcreator.com/fatlobby/?";
  11. //public const string Remote_SocketRtc_url = "wss://cloud-assistant.shadowcreator.com/fatroom/?";
  12. //public const string Remote_Net_url = "https://webapi-uat.shadowcreator.com/100032";
  13. //public const string Remote_SocketHall_url = "wss://cloud-assistant.shadowcreator.com/uatlobby?";
  14. //public const string Remote_SocketRtc_url = "wss://cloud-assistant.shadowcreator.com/uatroom?";
  15. //public const string Remote_Net_url = "https://webapi.shadowcreator.com/100032";
  16. //public const string Remote_SocketHall_url = "wss://cloud-assistant.shadowcreator.com/lobby?";
  17. //public const string Remote_SocketRtc_url = "wss://cloud-assistant.shadowcreator.com/room?";
  18. public static string Remote_Net_url {
  19. get {
  20. if(HttpSDKAction.Instance.loginUrl=="")
  21. {
  22. HttpSDKAction.Instance.loginUrl = "https://support.ghz-tech.com:8843/api/";
  23. }
  24. return HttpSDKAction.Instance.loginUrl; }
  25. }
  26. // public const string Remote_Net_url = "https://support.ghz-tech.com:8843/api/";
  27. //public const string Remote_SocketHall_url = "wss://api-cs.ghz-tech.com/remote-lobby/?";
  28. //public const string Remote_SocketRtc_url = "wss://api-cs.ghz-tech.com/remote-room/?";
  29. public static string Remote_SocketHall_url
  30. {
  31. get
  32. {
  33. if (HttpSDKAction.Instance.officeSocket == "")
  34. {
  35. HttpSDKAction.Instance.officeSocket = "wss://support.ghz-tech.com:8843/lobby/?";
  36. }
  37. return HttpSDKAction.Instance.officeSocket;
  38. }
  39. }
  40. public static string Remote_SocketRtc_url
  41. {
  42. get
  43. {
  44. if (HttpSDKAction.Instance.roomSocket == "")
  45. {
  46. HttpSDKAction.Instance.roomSocket = "wss://support.ghz-tech.com:8843/room/?";
  47. }
  48. return HttpSDKAction.Instance.roomSocket;
  49. }
  50. }
  51. }