登录时提交局域网IP地址

This commit is contained in:
大石头 2017-08-27 02:21:53 +08:00
parent 611883eb39
commit db3ec91613
1 changed files with 3 additions and 1 deletions

View File

@ -210,7 +210,7 @@ bool LinkClient::Invoke(const String& action, const Json& args) {
#if DEBUG
debug_printf("Link => ");
msg.Show(false);
msg.Show(true);
#endif
// 发送
@ -250,6 +250,8 @@ void LinkClient::Login()
json.Add("agent", Sys.Name);
json.Add("version", Version(Sys.Ver).ToString());
json.Add("ip", Master->Host->IP.ToString());
Invoke("Device/Login", json);
}