提交
This commit is contained in:
@@ -2,15 +2,18 @@ namespace ScrewsMaster
|
||||
{
|
||||
public class NetworkManager : BaseUnityManager<NetworkManager>
|
||||
{
|
||||
#if JarvisRelease
|
||||
public static string CrazyUrl = DomainReleaseUrl;
|
||||
#else
|
||||
public static string CrazyUrl = DomainDebugUrl;
|
||||
#endif
|
||||
|
||||
public const string DomainDebugUrl = @"https://api.jsoncompare.online/";
|
||||
public static readonly string DomainReleaseUrl = $"https://{DomainRelease}/api/";
|
||||
public const string DomainRelease = "zoomatchsolo.top";
|
||||
public static string DomainRelease = "zoomatchsolo.top";
|
||||
|
||||
// 改为只读属性,实时获取(等调用时 DomainRelease 早就初始化好了)
|
||||
public static string DomainReleaseUrl => $"https://{DomainRelease}/api/";
|
||||
|
||||
// 改为只读属性,实时获取
|
||||
#if JarvisRelease
|
||||
public static string CrazyUrl => DomainReleaseUrl;
|
||||
#else
|
||||
public static string CrazyUrl => DomainDebugUrl;
|
||||
#endif
|
||||
public static bool haveSimCard = false;
|
||||
private LoginSystem loginSystem;
|
||||
private ConfigSystem configSystem;
|
||||
|
||||
Reference in New Issue
Block a user