15 lines
475 B
C#
15 lines
475 B
C#
namespace Game
|
|
{
|
|
public static class NetworkConst
|
|
{
|
|
public const string loginUrl = @"http://192.168.1.129:12720/api/user/login";
|
|
private const string serverIP = "192.168.1.129";
|
|
|
|
// public const string loginUrl = @"http://webman.gzsnet.com/api/user/login";
|
|
// private const string serverIP = "1.14.121.81";
|
|
|
|
private const int serverPort = 12720;
|
|
|
|
public static string socketUrl => $"ws://{serverIP}:{serverPort}";
|
|
}
|
|
} |