parent
c54edf3cfe
commit
8f7b1f9cc1
@ -0,0 +1,16 @@
|
|||||||
|
package cn.teammodel.common;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author winter
|
||||||
|
* @create 2023-12-05 14:58
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class PageableRequest {
|
||||||
|
@ApiModelProperty("当前页码")
|
||||||
|
private Integer current = 0;
|
||||||
|
@ApiModelProperty("每页数量")
|
||||||
|
private Integer size = 10;
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
<configuration>
|
||||||
|
<include resource="/org/springframework/boot/logging/logback/base.xml"/>
|
||||||
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
|
<encoder>
|
||||||
|
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
|
||||||
|
</pattern>
|
||||||
|
</encoder>
|
||||||
|
</appender>
|
||||||
|
<root level="info">
|
||||||
|
<appender-ref ref="STDOUT"/>
|
||||||
|
</root>
|
||||||
|
<logger name="com.azure.cosmos" level="error"/>
|
||||||
|
<logger name="org.springframework" level="error"/>
|
||||||
|
<logger name="io.netty" level="error"/>
|
||||||
|
<!-- This will enable query logging, to include query parameter logging, set this logger to TRACE -->
|
||||||
|
<logger name="com.azure.cosmos.implementation.SqlQuerySpecLogger" level="DEBUG"/>
|
||||||
|
</configuration>
|
Loading…
Reference in new issue