diff --git a/cloud-pay-common/src/main/java/com/muyu/cloud/pay/domain/resp/CustomerResp.java b/cloud-pay-common/src/main/java/com/muyu/cloud/pay/domain/resp/CustomerResp.java index a099f5a..e03a16e 100644 --- a/cloud-pay-common/src/main/java/com/muyu/cloud/pay/domain/resp/CustomerResp.java +++ b/cloud-pay-common/src/main/java/com/muyu/cloud/pay/domain/resp/CustomerResp.java @@ -10,6 +10,7 @@ import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.SuperBuilder; +import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; import java.util.List; @@ -44,7 +45,7 @@ public class CustomerResp { * 服务/客户名称 */ @Excel( - name = "登录名称" + name = "客户名称" ) @Schema(description = "客户名称", defaultValue = "商品服务", type = "String") private String appName; @@ -53,9 +54,9 @@ public class CustomerResp { * 服务/客户编码 */ @Excel( - name = "登录名称" + name = "客户编码" ) - @Schema(description = "客户ID", defaultValue = "cloud_order", type = "String") + @Schema(description = "客户编码", defaultValue = "cloud_order", type = "String") private String appCode; @@ -63,19 +64,20 @@ public class CustomerResp { * 状态 */ @Excel( - name = "登录名称" + name = "客户状态" ) @Schema(description = "客户状态,同数据字典-系统是否", defaultValue = "Y", type = "String") private String status; @Excel( - name = "登录名称" + name = "创建人" ) @Schema(description = "创建人", defaultValue = "muyu", type = "String") private String createBy; @Excel( - name = "登录名称" + name = "创建时间" ) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Schema(description = "创建时间", defaultValue = "2024-8-1 0:22:36", type = "Date") private Date createTime; diff --git a/cloud-pay-server/pom.xml b/cloud-pay-server/pom.xml index 6dabb15..6f2066c 100644 --- a/cloud-pay-server/pom.xml +++ b/cloud-pay-server/pom.xml @@ -11,11 +11,12 @@ cloud-pay-server - - - - - + + 17 + 17 + UTF-8 + +