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 c059f85f62 - Show all commits

View File

@@ -66,7 +66,11 @@ class SysLogInterceptor(
sysLog.apply { sysLog.apply {
logType = requestUri?.let { logType = requestUri?.let {
when { when {
it.startsWith("/system/statistics/") -> "STATISTICS" it.startsWith("/login") -> "LOGIN"
it.startsWith("/logout") -> "LOGOUT"
it.startsWith("/register") -> "REGISTER"
it.startsWith("/system/statistic/") -> "STATISTIC"
it.startsWith("/api/") -> "API"
else -> "INFO" else -> "INFO"
} }
} ?: "INFO" } ?: "INFO"