Finish SysLogController
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package top.fatweb.api.param.system
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
import org.springframework.format.annotation.DateTimeFormat
|
||||
import top.fatweb.api.param.PageParam
|
||||
import java.time.LocalDateTime
|
||||
|
||||
@Schema(description = "获取系统日志请求参数")
|
||||
data class SysLogGetParam(
|
||||
@@ -19,5 +21,19 @@ data class SysLogGetParam(
|
||||
example = "GET,POST",
|
||||
allowableValues = ["GET", "POST", "PUT", "PATCH", "DELETE", "DELETE", "OPTIONS"]
|
||||
)
|
||||
val requestMethod: String? = null
|
||||
val requestMethod: String? = null,
|
||||
|
||||
@Schema(description = "查询请求 Url")
|
||||
val searchRequestUrl: String? = null,
|
||||
|
||||
@Schema(description = "查询使用正则表达式")
|
||||
val searchRegex: Boolean = false,
|
||||
|
||||
@Schema(description = "查询开始时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
|
||||
val searchStartTime: LocalDateTime? = null,
|
||||
|
||||
@Schema(description = "查询结束时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
|
||||
val searchEndTime: LocalDateTime? = null
|
||||
) : PageParam()
|
||||
Reference in New Issue
Block a user