Optimize SysLogController
This commit is contained in:
@@ -5,5 +5,19 @@ import top.fatweb.api.param.PageParam
|
||||
|
||||
@Schema(description = "获取系统日志请求参数")
|
||||
data class SysLogGetParam(
|
||||
val logType: String? = null
|
||||
@Schema(description = "排序字段", example = "id")
|
||||
val sortField: String? = null,
|
||||
|
||||
@Schema(description = "排序方式", example = "desc", allowableValues = ["desc", "asc"])
|
||||
val sortOrder: String? = null,
|
||||
|
||||
@Schema(description = "类型过滤(多个使用逗号分隔)", example = "INFO", allowableValues = ["INFO", "ERROR"])
|
||||
val logType: String? = null,
|
||||
|
||||
@Schema(
|
||||
description = "请求方式过滤(多个使用逗号分隔)",
|
||||
example = "GET,POST",
|
||||
allowableValues = ["GET", "POST", "PUT", "PATCH", "DELETE", "DELETE", "OPTIONS"]
|
||||
)
|
||||
val requestMethod: String? = null
|
||||
) : PageParam()
|
||||
Reference in New Issue
Block a user