客户端连线记录
This commit is contained in:
commit
489460969f
3 files changed
+3
-4
No files matched your search
@@ -45,8 +45,8 @@ namespace SunlightAggregationManager.UserClass
|
||||
{
|
||||
Person? deserializedPerson = JsonSerializer.Deserialize<Person>(DAT);
|
||||
|
||||
var _user = MainWindowViewModel.Selet_Memory(MainWindowViewModel._userData, "State", "User='" + deserializedPerson?.User +
|
||||
"' and Password ='" + deserializedPerson?.Password + "'");
|
||||
var _user = MainWindowViewModel.Selet_Memory(MainWindowViewModel._userData, "State", "User='" +
|
||||
deserializedPerson?.User + "' and Password ='" + deserializedPerson?.Password + "'");
|
||||
if (_user != null)
|
||||
{
|
||||
string _dat = _user?.ToString() ?? "0";
|
||||
|
||||
@@ -17,7 +17,6 @@ namespace SunlightAggregationManager.UserClass
|
||||
private string DB_IP = null!;
|
||||
private string DB_PASSWORD = null!;
|
||||
|
||||
|
||||
public void Config(string ip, string name, string type, string id, string password)
|
||||
{
|
||||
DB_IP = ip;
|
||||
|
||||
Reference in new issue
Block a user