登录时提交局域网IP地址
This commit is contained in:
parent
611883eb39
commit
db3ec91613
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue