Optimize get sys log api
This commit is contained in:
@@ -1,17 +1,9 @@
|
||||
package top.fatweb.api.param.system
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
import jakarta.validation.constraints.Min
|
||||
import java.io.Serializable
|
||||
import top.fatweb.api.param.PageParam
|
||||
|
||||
@Schema(description = "获取系统日志请求参数")
|
||||
class SysLogGetParam : Serializable {
|
||||
|
||||
@Schema(description = "分页页码", example = "1", defaultValue = "1")
|
||||
@Min(1, message = "Pagination page number must be a positive integer")
|
||||
val page: Long = 1
|
||||
|
||||
@Schema(description = "分页大小", example = "20", defaultValue = "20")
|
||||
@Min(1, message = "The number of data per page must be a positive integer")
|
||||
val pageSize: Long = 20
|
||||
}
|
||||
data class SysLogGetParam(
|
||||
val logType: String? = null
|
||||
) : PageParam()
|
||||
Reference in New Issue
Block a user