Add UserOperationLog.

This commit is contained in:
sunwen
2023-09-05 16:32:38 +08:00
parent d8ffe7b10e
commit 17cc9e5297
18 changed files with 103 additions and 50 deletions

View File

@@ -549,3 +549,8 @@ bool JsonObject::isDmsSimulator()
{
return getBool("dms","simulator");
}
int JsonObject::getOperationLogExpireDays()
{
return QString(getJsonString("operatorlog", "expire")).toInt();
}

View File

@@ -110,6 +110,7 @@ public:
void setIpRouteList(const QList<QStringList>& list);
QStringList getScreenSaverInfomation();
int getOperationLogExpireDays();
private: