Complete core functions #9

Merged
FatttSnake merged 171 commits from FatttSnake into dev 2024-02-23 11:56:35 +08:00
Showing only changes of commit 6b83d7ef05 - Show all commits

View File

@@ -64,7 +64,12 @@ class SysLogInterceptor(
if (result is ResponseResult<*>) {
if (result.success) {
sysLog.apply {
logType = "INFO"
logType = requestUri?.let {
when {
it.startsWith("/system/statistics/") -> "STATISTICS"
else -> "INFO"
}
} ?: "INFO"
exception = 0
}
} else {