修改登录
This commit is contained in:
@@ -20,7 +20,7 @@ namespace BingoBrain
|
|||||||
|
|
||||||
public static string domainUrl => IsReleaseMode ? DomainReleaseUrl : DomainDebugUrl;
|
public static string domainUrl => IsReleaseMode ? DomainReleaseUrl : DomainDebugUrl;
|
||||||
|
|
||||||
public const string DomainDebugUrl = @"http://api.jsoncompare.online/";
|
public const string DomainDebugUrl = @"https://api.jsoncompare.online/";
|
||||||
public static readonly string DomainReleaseUrl = $"https://{DomainRelease}/api/";
|
public static readonly string DomainReleaseUrl = $"https://{DomainRelease}/api/";
|
||||||
public const string DomainRelease = "bingoglassland.top";
|
public const string DomainRelease = "bingoglassland.top";
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ public class NetworkKit
|
|||||||
loginRequest.SetRequestHeader(keyValuePair.Key, keyValuePair.Value);
|
loginRequest.SetRequestHeader(keyValuePair.Key, keyValuePair.Value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Debug.Log(JsonConvert.SerializeObject(loginRequest));
|
|
||||||
SetRequestContentType(loginRequest);
|
SetRequestContentType(loginRequest);
|
||||||
yield return loginRequest.SendWebRequest();
|
yield return loginRequest.SendWebRequest();
|
||||||
if (loginRequest.result is not UnityWebRequest.Result.Success)
|
if (loginRequest.result is not UnityWebRequest.Result.Success)
|
||||||
|
|||||||
Reference in New Issue
Block a user