Browse Source

PageList增加无参构造方法

lixing 3 years ago
parent
commit
5b44670499

+ 2 - 0
apm-common/src/main/java/com/persagy/apm/common/response/PageList.java

@@ -3,6 +3,7 @@ package com.persagy.apm.common.response;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
+import lombok.NoArgsConstructor;
 
 import java.util.List;
 
@@ -12,6 +13,7 @@ import java.util.List;
  * @data 2021-03-25
  */
 @Data
+@NoArgsConstructor
 @ApiModel("分页列表")
 public class PageList<T> {
     @ApiModelProperty("当前页数据")

+ 6 - 0
apm-package/pom.xml

@@ -12,6 +12,12 @@
     <artifactId>apm-package</artifactId>
     <packaging>pom</packaging>
 
+    <properties>
+        <maven.compiler.source>8</maven.compiler.source>
+        <maven.source.skip>true</maven.source.skip>
+        <maven.compiler.target>8</maven.compiler.target>
+    </properties>
+
     <!-- 插件配置 -->
     <build>
         <plugins>