adding logout/login recording.

This commit is contained in:
stephb9959
2022-01-05 23:34:13 -08:00
parent fce18f6238
commit a80bcd16d8
9 changed files with 132 additions and 2 deletions

View File

@@ -292,5 +292,14 @@ namespace OpenWifi {
Poco::Data::LOB<char> avatar;
};
struct LoginRecordInfo {
std::string sessionId;
std::string userId;
std::string email;
uint64_t login=0;
uint64_t logout=0;
void to_json(Poco::JSON::Object &Obj) const;
};
}
}