登录时增加网络类型nettype

This commit is contained in:
大石头 2017-09-07 00:06:32 +08:00
parent b14393934e
commit ff99cc98b9
1 changed files with 3 additions and 1 deletions

View File

@ -300,7 +300,9 @@ void LinkClient::Login()
json.Add("agent", Sys.Name);
json.Add("version", Version(Sys.Ver).ToString());
json.Add("ip", Master->Host->IP.ToString());
auto host = Master->Host;
json.Add("ip", host->IP.ToString());
json.Add("nettype", host->Name);
Invoke("Device/Login", json);
}