mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-09-09 14:41:53 +08:00
feat: knife4j springdoc
This commit is contained in:
@@ -10,26 +10,26 @@ import javax.validation.constraints.*;
|
||||
@Data
|
||||
public class PayAppBaseVO {
|
||||
|
||||
@Schema(title = "应用名", required = true)
|
||||
@Schema(description = "应用名", required = true)
|
||||
@NotNull(message = "应用名不能为空")
|
||||
private String name;
|
||||
|
||||
@Schema(title = "开启状态", required = true)
|
||||
@Schema(description = "开启状态", required = true)
|
||||
@NotNull(message = "开启状态不能为空")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title = "支付结果的回调地址", required = true)
|
||||
@Schema(description = "支付结果的回调地址", required = true)
|
||||
@NotNull(message = "支付结果的回调地址不能为空")
|
||||
private String payNotifyUrl;
|
||||
|
||||
@Schema(title = "退款结果的回调地址", required = true)
|
||||
@Schema(description = "退款结果的回调地址", required = true)
|
||||
@NotNull(message = "退款结果的回调地址不能为空")
|
||||
private String refundNotifyUrl;
|
||||
|
||||
@Schema(title = "商户编号", required = true)
|
||||
@Schema(description = "商户编号", required = true)
|
||||
@NotNull(message = "商户编号不能为空")
|
||||
private Long merchantId;
|
||||
|
||||
|
@@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.pay.controller.admin.merchant.vo.app;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
|
||||
@Schema(title = "管理后台 - 支付应用信息创建 Request VO")
|
||||
@Schema(description = "管理后台 - 支付应用信息创建 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
|
@@ -7,30 +7,30 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 支付应用信息 Excel 导出 Request VO", description = "参数和 PayAppPageReqVO 是一致的")
|
||||
@Schema(description = "管理后台 - 支付应用信息 Excel 导出 Request VO,参数和 PayAppPageReqVO 是一致的")
|
||||
@Data
|
||||
public class PayAppExportReqVO {
|
||||
|
||||
@Schema(title = "应用名")
|
||||
@Schema(description = "应用名")
|
||||
private String name;
|
||||
|
||||
@Schema(title = "开启状态")
|
||||
@Schema(description = "开启状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title = "支付结果的回调地址")
|
||||
@Schema(description = "支付结果的回调地址")
|
||||
private String payNotifyUrl;
|
||||
|
||||
@Schema(title = "退款结果的回调地址")
|
||||
@Schema(description = "退款结果的回调地址")
|
||||
private String refundNotifyUrl;
|
||||
|
||||
@Schema(title = "商户名称")
|
||||
@Schema(description = "商户名称")
|
||||
private String merchantName;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -8,16 +8,16 @@ import lombok.ToString;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Set;
|
||||
|
||||
@Schema(title = "管理后台 - 支付应用信息分页查询 Response VO", description = "相比于支付信息,还会多出应用渠道的开关信息")
|
||||
@Schema(description = "管理后台 - 支付应用信息分页查询 Response VO,相比于支付信息,还会多出应用渠道的开关信息")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayAppPageItemRespVO extends PayAppBaseVO {
|
||||
|
||||
@Schema(title = "应用编号", required = true)
|
||||
@Schema(description = "应用编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "创建时间", required = true)
|
||||
@Schema(description = "创建时间", required = true)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
@@ -25,19 +25,19 @@ public class PayAppPageItemRespVO extends PayAppBaseVO {
|
||||
*/
|
||||
private PayMerchant payMerchant;
|
||||
|
||||
@Schema(title = "商户")
|
||||
@Schema(description = "商户")
|
||||
@Data
|
||||
public static class PayMerchant {
|
||||
|
||||
@Schema(title = "商户编号", required = true, example = "1")
|
||||
@Schema(description = "商户编号", required = true, example = "1")
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "商户名称", required = true, example = "研发部")
|
||||
@Schema(description = "商户名称", required = true, example = "研发部")
|
||||
private String name;
|
||||
|
||||
}
|
||||
|
||||
@Schema(title = "渠道编码集合", required = true, example = "alipay_pc,alipay_wap...")
|
||||
@Schema(description = "渠道编码集合", required = true, example = "alipay_pc,alipay_wap...")
|
||||
private Set<String> channelCodes;
|
||||
|
||||
|
||||
|
@@ -8,32 +8,32 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 支付应用信息分页 Request VO")
|
||||
@Schema(description = "管理后台 - 支付应用信息分页 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayAppPageReqVO extends PageParam {
|
||||
|
||||
@Schema(title = "应用名")
|
||||
@Schema(description = "应用名")
|
||||
private String name;
|
||||
|
||||
@Schema(title = "开启状态")
|
||||
@Schema(description = "开启状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title = "支付结果的回调地址")
|
||||
@Schema(description = "支付结果的回调地址")
|
||||
private String payNotifyUrl;
|
||||
|
||||
@Schema(title = "退款结果的回调地址")
|
||||
@Schema(description = "退款结果的回调地址")
|
||||
private String refundNotifyUrl;
|
||||
|
||||
@Schema(title = "商户名称")
|
||||
@Schema(description = "商户名称")
|
||||
private String merchantName;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -4,16 +4,16 @@ import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 支付应用信息 Response VO")
|
||||
@Schema(description = "管理后台 - 支付应用信息 Response VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayAppRespVO extends PayAppBaseVO {
|
||||
|
||||
@Schema(title = "应用编号", required = true)
|
||||
@Schema(description = "应用编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "创建时间", required = true)
|
||||
@Schema(description = "创建时间", required = true)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
|
@@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
@Schema(title = "管理后台 - 支付应用信息更新 Request VO")
|
||||
@Schema(description = "管理后台 - 支付应用信息更新 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayAppUpdateReqVO extends PayAppBaseVO {
|
||||
|
||||
@Schema(title = "应用编号", required = true)
|
||||
@Schema(description = "应用编号", required = true)
|
||||
@NotNull(message = "应用编号不能为空")
|
||||
private Long id;
|
||||
|
||||
|
@@ -5,15 +5,15 @@ import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Schema(title = "管理后台 - 应用更新状态 Request VO")
|
||||
@Schema(description = "管理后台 - 应用更新状态 Request VO")
|
||||
@Data
|
||||
public class PayAppUpdateStatusReqVO {
|
||||
|
||||
@Schema(title = "商户编号", required = true, example = "1024")
|
||||
@Schema(description = "商户编号", required = true, example = "1024")
|
||||
@NotNull(message = "商户编号不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "状态", required = true, example = "1", description = "见 SysCommonStatusEnum 枚举")
|
||||
@Schema(description = "状态,见 SysCommonStatusEnum 枚举", required = true, example = "1")
|
||||
@NotNull(message = "状态不能为空")
|
||||
private Integer status;
|
||||
|
||||
|
@@ -10,26 +10,26 @@ import javax.validation.constraints.*;
|
||||
@Data
|
||||
public class PayChannelBaseVO {
|
||||
|
||||
@Schema(title = "渠道编码", required = true)
|
||||
@Schema(description = "渠道编码", required = true)
|
||||
@NotNull(message = "渠道编码不能为空")
|
||||
private String code;
|
||||
|
||||
@Schema(title = "开启状态", required = true)
|
||||
@Schema(description = "开启状态", required = true)
|
||||
@NotNull(message = "开启状态不能为空")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title = "渠道费率,单位:百分比", required = true)
|
||||
@Schema(description = "渠道费率,单位:百分比", required = true)
|
||||
@NotNull(message = "渠道费率,单位:百分比不能为空")
|
||||
private Double feeRate;
|
||||
|
||||
@Schema(title = "商户编号", required = true)
|
||||
@Schema(description = "商户编号", required = true)
|
||||
@NotNull(message = "商户编号不能为空")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号", required = true)
|
||||
@Schema(description = "应用编号", required = true)
|
||||
@NotNull(message = "应用编号不能为空")
|
||||
private Long appId;
|
||||
|
||||
|
@@ -7,13 +7,13 @@ import lombok.ToString;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Schema(title = "管理后台 - 支付渠道 创建 Request VO")
|
||||
@Schema(description = "管理后台 - 支付渠道 创建 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayChannelCreateReqVO extends PayChannelBaseVO {
|
||||
|
||||
@Schema(title = "渠道配置的 json 字符串")
|
||||
@Schema(description = "渠道配置的 json 字符串")
|
||||
@NotBlank(message = "渠道配置不能为空")
|
||||
private String config;
|
||||
|
||||
|
@@ -7,33 +7,33 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 支付渠道 Excel 导出 Request VO", description = "参数和 PayChannelPageReqVO 是一致的")
|
||||
@Schema(description = "管理后台 - 支付渠道 Excel 导出 Request VO,参数和 PayChannelPageReqVO 是一致的")
|
||||
@Data
|
||||
public class PayChannelExportReqVO {
|
||||
|
||||
@Schema(title = "渠道编码")
|
||||
@Schema(description = "渠道编码")
|
||||
private String code;
|
||||
|
||||
@Schema(title = "开启状态")
|
||||
@Schema(description = "开启状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title = "渠道费率,单位:百分比")
|
||||
@Schema(description = "渠道费率,单位:百分比")
|
||||
private Double feeRate;
|
||||
|
||||
@Schema(title = "商户编号")
|
||||
@Schema(description = "商户编号")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号")
|
||||
@Schema(description = "应用编号")
|
||||
private Long appId;
|
||||
|
||||
@Schema(title = "支付渠道配置")
|
||||
@Schema(description = "支付渠道配置")
|
||||
private String config;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -8,35 +8,35 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 支付渠道 分页 Request VO")
|
||||
@Schema(description = "管理后台 - 支付渠道 分页 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayChannelPageReqVO extends PageParam {
|
||||
|
||||
@Schema(title = "渠道编码")
|
||||
@Schema(description = "渠道编码")
|
||||
private String code;
|
||||
|
||||
@Schema(title = "开启状态")
|
||||
@Schema(description = "开启状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(title = "渠道费率,单位:百分比")
|
||||
@Schema(description = "渠道费率,单位:百分比")
|
||||
private Double feeRate;
|
||||
|
||||
@Schema(title = "商户编号")
|
||||
@Schema(description = "商户编号")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号")
|
||||
@Schema(description = "应用编号")
|
||||
private Long appId;
|
||||
|
||||
@Schema(title = "支付渠道配置")
|
||||
@Schema(description = "支付渠道配置")
|
||||
private String config;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -4,18 +4,18 @@ import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 支付渠道 Response VO")
|
||||
@Schema(description = "管理后台 - 支付渠道 Response VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayChannelRespVO extends PayChannelBaseVO {
|
||||
|
||||
@Schema(title = "商户编号", required = true)
|
||||
@Schema(description = "商户编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "创建时间", required = true)
|
||||
@Schema(description = "创建时间", required = true)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(title = "配置", required = true)
|
||||
@Schema(description = "配置", required = true)
|
||||
private String config;
|
||||
}
|
||||
|
@@ -3,17 +3,17 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
@Schema(title = "管理后台 - 支付渠道 更新 Request VO")
|
||||
@Schema(description = "管理后台 - 支付渠道 更新 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayChannelUpdateReqVO extends PayChannelBaseVO {
|
||||
|
||||
@Schema(title = "商户编号", required = true)
|
||||
@Schema(description = "商户编号", required = true)
|
||||
@NotNull(message = "商户编号不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "渠道配置的json字符串")
|
||||
@Schema(description = "渠道配置的json字符串")
|
||||
@NotBlank(message = "渠道配置不能为空")
|
||||
private String config;
|
||||
}
|
||||
|
@@ -11,19 +11,19 @@ import javax.validation.constraints.NotNull;
|
||||
@Data
|
||||
public class PayMerchantBaseVO {
|
||||
|
||||
@Schema(title = "商户全称", required = true)
|
||||
@Schema(description = "商户全称", required = true)
|
||||
@NotNull(message = "商户全称不能为空")
|
||||
private String name;
|
||||
|
||||
@Schema(title = "商户简称", required = true)
|
||||
@Schema(description = "商户简称", required = true)
|
||||
@NotNull(message = "商户简称不能为空")
|
||||
private String shortName;
|
||||
|
||||
@Schema(title = "开启状态", required = true)
|
||||
@Schema(description = "开启状态", required = true)
|
||||
@NotNull(message = "开启状态不能为空")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.pay.controller.admin.merchant.vo.merchant;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
|
||||
@Schema(title = "管理后台 - 支付商户信息创建 Request VO")
|
||||
@Schema(description = "管理后台 - 支付商户信息创建 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
|
@@ -7,27 +7,27 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 支付商户信息 Excel 导出 Request VO", description = "参数和 PayMerchantPageReqVO 是一致的")
|
||||
@Schema(description = "管理后台 - 支付商户信息 Excel 导出 Request VO,参数和 PayMerchantPageReqVO 是一致的")
|
||||
@Data
|
||||
public class PayMerchantExportReqVO {
|
||||
|
||||
@Schema(title = "商户号")
|
||||
@Schema(description = "商户号")
|
||||
private String no;
|
||||
|
||||
@Schema(title = "商户全称")
|
||||
@Schema(description = "商户全称")
|
||||
private String name;
|
||||
|
||||
@Schema(title = "商户简称")
|
||||
@Schema(description = "商户简称")
|
||||
private String shortName;
|
||||
|
||||
@Schema(title = "开启状态")
|
||||
@Schema(description = "开启状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -8,29 +8,29 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 支付商户信息分页 Request VO")
|
||||
@Schema(description = "管理后台 - 支付商户信息分页 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayMerchantPageReqVO extends PageParam {
|
||||
|
||||
@Schema(title = "商户号")
|
||||
@Schema(description = "商户号")
|
||||
private String no;
|
||||
|
||||
@Schema(title = "商户全称")
|
||||
@Schema(description = "商户全称")
|
||||
private String name;
|
||||
|
||||
@Schema(title = "商户简称")
|
||||
@Schema(description = "商户简称")
|
||||
private String shortName;
|
||||
|
||||
@Schema(title = "开启状态")
|
||||
@Schema(description = "开启状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "备注")
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -7,19 +7,19 @@ import lombok.ToString;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 支付商户信息 Response VO")
|
||||
@Schema(description = "管理后台 - 支付商户信息 Response VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayMerchantRespVO extends PayMerchantBaseVO {
|
||||
|
||||
@Schema(title = "商户编号", required = true)
|
||||
@Schema(description = "商户编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "创建时间", required = true)
|
||||
@Schema(description = "创建时间", required = true)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(title = "商户号", required = true, example = "M233666999")
|
||||
@Schema(description = "商户号", required = true, example = "M233666999")
|
||||
private String no;
|
||||
|
||||
}
|
||||
|
@@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
@Schema(title = "管理后台 - 支付商户信息更新 Request VO")
|
||||
@Schema(description = "管理后台 - 支付商户信息更新 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayMerchantUpdateReqVO extends PayMerchantBaseVO {
|
||||
|
||||
@Schema(title = "商户编号", required = true)
|
||||
@Schema(description = "商户编号", required = true)
|
||||
@NotNull(message = "商户编号不能为空")
|
||||
private Long id;
|
||||
|
||||
|
@@ -5,15 +5,15 @@ import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Schema(title = "管理后台 - 商户更新状态 Request VO")
|
||||
@Schema(description = "管理后台 - 商户更新状态 Request VO")
|
||||
@Data
|
||||
public class PayMerchantUpdateStatusReqVO {
|
||||
|
||||
@Schema(title = "商户编号", required = true, example = "1024")
|
||||
@Schema(description = "商户编号", required = true, example = "1024")
|
||||
@NotNull(message = "商户编号不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "状态", required = true, example = "1", description = "见 SysCommonStatusEnum 枚举")
|
||||
@Schema(description = "状态,见 SysCommonStatusEnum 枚举", required = true, example = "1")
|
||||
@NotNull(message = "状态不能为空")
|
||||
private Integer status;
|
||||
|
||||
|
@@ -17,90 +17,90 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
|
||||
@Data
|
||||
public class PayOrderBaseVO {
|
||||
|
||||
@Schema(title = "商户编号", required = true)
|
||||
@Schema(description = "商户编号", required = true)
|
||||
@NotNull(message = "商户编号不能为空")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号", required = true)
|
||||
@Schema(description = "应用编号", required = true)
|
||||
@NotNull(message = "应用编号不能为空")
|
||||
private Long appId;
|
||||
|
||||
@Schema(title = "渠道编号")
|
||||
@Schema(description = "渠道编号")
|
||||
private Long channelId;
|
||||
|
||||
@Schema(title = "渠道编码")
|
||||
@Schema(description = "渠道编码")
|
||||
private String channelCode;
|
||||
|
||||
@Schema(title = "商户订单编号", required = true)
|
||||
@Schema(description = "商户订单编号", required = true)
|
||||
@NotNull(message = "商户订单编号不能为空")
|
||||
private String merchantOrderId;
|
||||
|
||||
@Schema(title = "商品标题", required = true)
|
||||
@Schema(description = "商品标题", required = true)
|
||||
@NotNull(message = "商品标题不能为空")
|
||||
private String subject;
|
||||
|
||||
@Schema(title = "商品描述", required = true)
|
||||
@Schema(description = "商品描述", required = true)
|
||||
@NotNull(message = "商品描述不能为空")
|
||||
private String body;
|
||||
|
||||
@Schema(title = "异步通知地址", required = true)
|
||||
@Schema(description = "异步通知地址", required = true)
|
||||
@NotNull(message = "异步通知地址不能为空")
|
||||
private String notifyUrl;
|
||||
|
||||
@Schema(title = "通知商户支付结果的回调状态", required = true)
|
||||
@Schema(description = "通知商户支付结果的回调状态", required = true)
|
||||
@NotNull(message = "通知商户支付结果的回调状态不能为空")
|
||||
private Integer notifyStatus;
|
||||
|
||||
@Schema(title = "支付金额,单位:分", required = true)
|
||||
@Schema(description = "支付金额,单位:分", required = true)
|
||||
@NotNull(message = "支付金额,单位:分不能为空")
|
||||
private Long amount;
|
||||
|
||||
@Schema(title = "渠道手续费,单位:百分比")
|
||||
@Schema(description = "渠道手续费,单位:百分比")
|
||||
private Double channelFeeRate;
|
||||
|
||||
@Schema(title = "渠道手续金额,单位:分")
|
||||
@Schema(description = "渠道手续金额,单位:分")
|
||||
private Long channelFeeAmount;
|
||||
|
||||
@Schema(title = "支付状态", required = true)
|
||||
@Schema(description = "支付状态", required = true)
|
||||
@NotNull(message = "支付状态不能为空")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "用户 IP", required = true)
|
||||
@Schema(description = "用户 IP", required = true)
|
||||
@NotNull(message = "用户 IP不能为空")
|
||||
private String userIp;
|
||||
|
||||
@Schema(title = "订单失效时间", required = true)
|
||||
@Schema(description = "订单失效时间", required = true)
|
||||
@NotNull(message = "订单失效时间不能为空")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime expireTime;
|
||||
|
||||
@Schema(title = "订单支付成功时间")
|
||||
@Schema(description = "订单支付成功时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime successTime;
|
||||
|
||||
@Schema(title = "订单支付通知时间")
|
||||
@Schema(description = "订单支付通知时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime notifyTime;
|
||||
|
||||
@Schema(title = "支付成功的订单拓展单编号")
|
||||
@Schema(description = "支付成功的订单拓展单编号")
|
||||
private Long successExtensionId;
|
||||
|
||||
@Schema(title = "退款状态", required = true)
|
||||
@Schema(description = "退款状态", required = true)
|
||||
@NotNull(message = "退款状态不能为空")
|
||||
private Integer refundStatus;
|
||||
|
||||
@Schema(title = "退款次数", required = true)
|
||||
@Schema(description = "退款次数", required = true)
|
||||
@NotNull(message = "退款次数不能为空")
|
||||
private Integer refundTimes;
|
||||
|
||||
@Schema(title = "退款总金额,单位:分", required = true)
|
||||
@Schema(description = "退款总金额,单位:分", required = true)
|
||||
@NotNull(message = "退款总金额,单位:分不能为空")
|
||||
private Long refundAmount;
|
||||
|
||||
@Schema(title = "渠道用户编号")
|
||||
@Schema(description = "渠道用户编号")
|
||||
private String channelUserId;
|
||||
|
||||
@Schema(title = "渠道订单号")
|
||||
@Schema(description = "渠道订单号")
|
||||
private String channelOrderNo;
|
||||
|
||||
}
|
||||
|
@@ -7,25 +7,25 @@ import lombok.ToString;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 支付订单详细信息 Response VO")
|
||||
@Schema(description = "管理后台 - 支付订单详细信息 Response VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayOrderDetailsRespVO extends PayOrderBaseVO {
|
||||
|
||||
@Schema(title = "支付订单编号")
|
||||
@Schema(description = "支付订单编号")
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "商户名称")
|
||||
@Schema(description = "商户名称")
|
||||
private String merchantName;
|
||||
|
||||
@Schema(title = "应用名称")
|
||||
@Schema(description = "应用名称")
|
||||
private String appName;
|
||||
|
||||
@Schema(title = "渠道编号名称")
|
||||
@Schema(description = "渠道编号名称")
|
||||
private String channelCodeName;
|
||||
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
@@ -34,13 +34,13 @@ public class PayOrderDetailsRespVO extends PayOrderBaseVO {
|
||||
private PayOrderExtension payOrderExtension;
|
||||
|
||||
@Data
|
||||
@Schema(title = "支付订单扩展")
|
||||
@Schema(description = "支付订单扩展")
|
||||
public static class PayOrderExtension {
|
||||
|
||||
@Schema(title = "支付订单号")
|
||||
@Schema(description = "支付订单号")
|
||||
private String no;
|
||||
|
||||
@Schema(title = "支付异步通知的内容")
|
||||
@Schema(description = "支付异步通知的内容")
|
||||
private String channelNotifyData;
|
||||
}
|
||||
|
||||
|
@@ -8,84 +8,84 @@ import java.time.LocalDateTime;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 支付订单 Excel 导出 Request VO", description = "参数和 PayOrderPageReqVO 是一致的")
|
||||
@Schema(description = "管理后台 - 支付订单 Excel 导出 Request VO,参数和 PayOrderPageReqVO 是一致的")
|
||||
@Data
|
||||
public class PayOrderExportReqVO {
|
||||
|
||||
@Schema(title = "商户编号")
|
||||
@Schema(description = "商户编号")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号")
|
||||
@Schema(description = "应用编号")
|
||||
private Long appId;
|
||||
|
||||
@Schema(title = "渠道编号")
|
||||
@Schema(description = "渠道编号")
|
||||
private Long channelId;
|
||||
|
||||
@Schema(title = "渠道编码")
|
||||
@Schema(description = "渠道编码")
|
||||
private String channelCode;
|
||||
|
||||
@Schema(title = "商户订单编号")
|
||||
@Schema(description = "商户订单编号")
|
||||
private String merchantOrderId;
|
||||
|
||||
@Schema(title = "商品标题")
|
||||
@Schema(description = "商品标题")
|
||||
private String subject;
|
||||
|
||||
@Schema(title = "商品描述")
|
||||
@Schema(description = "商品描述")
|
||||
private String body;
|
||||
|
||||
@Schema(title = "异步通知地址")
|
||||
@Schema(description = "异步通知地址")
|
||||
private String notifyUrl;
|
||||
|
||||
@Schema(title = "通知商户支付结果的回调状态")
|
||||
@Schema(description = "通知商户支付结果的回调状态")
|
||||
private Integer notifyStatus;
|
||||
|
||||
@Schema(title = "支付金额,单位:分")
|
||||
@Schema(description = "支付金额,单位:分")
|
||||
private Long amount;
|
||||
|
||||
@Schema(title = "渠道手续费,单位:百分比")
|
||||
@Schema(description = "渠道手续费,单位:百分比")
|
||||
private Double channelFeeRate;
|
||||
|
||||
@Schema(title = "渠道手续金额,单位:分")
|
||||
@Schema(description = "渠道手续金额,单位:分")
|
||||
private Long channelFeeAmount;
|
||||
|
||||
@Schema(title = "支付状态")
|
||||
@Schema(description = "支付状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "用户 IP")
|
||||
@Schema(description = "用户 IP")
|
||||
private String userIp;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "订单失效时间")
|
||||
@Schema(description = "订单失效时间")
|
||||
private LocalDateTime[] expireTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "开始订单支付成功时间")
|
||||
@Schema(description = "开始订单支付成功时间")
|
||||
private LocalDateTime[] successTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "开始订单支付通知时间")
|
||||
@Schema(description = "开始订单支付通知时间")
|
||||
private LocalDateTime[] notifyTime;
|
||||
|
||||
@Schema(title = "支付成功的订单拓展单编号")
|
||||
@Schema(description = "支付成功的订单拓展单编号")
|
||||
private Long successExtensionId;
|
||||
|
||||
@Schema(title = "退款状态")
|
||||
@Schema(description = "退款状态")
|
||||
private Integer refundStatus;
|
||||
|
||||
@Schema(title = "退款次数")
|
||||
@Schema(description = "退款次数")
|
||||
private Integer refundTimes;
|
||||
|
||||
@Schema(title = "退款总金额,单位:分")
|
||||
@Schema(description = "退款总金额,单位:分")
|
||||
private Long refundAmount;
|
||||
|
||||
@Schema(title = "渠道用户编号")
|
||||
@Schema(description = "渠道用户编号")
|
||||
private String channelUserId;
|
||||
|
||||
@Schema(title = "渠道订单号")
|
||||
@Schema(description = "渠道订单号")
|
||||
private String channelOrderNo;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -7,28 +7,28 @@ import lombok.ToString;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 支付订单分页 Request VO")
|
||||
@Schema(description = "管理后台 - 支付订单分页 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayOrderPageItemRespVO extends PayOrderBaseVO {
|
||||
|
||||
@Schema(title = "支付订单编号", required = true)
|
||||
@Schema(description = "支付订单编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "创建时间", required = true)
|
||||
@Schema(description = "创建时间", required = true)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(title = "商户名称")
|
||||
@Schema(description = "商户名称")
|
||||
private String merchantName;
|
||||
|
||||
@Schema(title = "应用名称")
|
||||
@Schema(description = "应用名称")
|
||||
private String appName;
|
||||
|
||||
@Schema(title = "渠道名称")
|
||||
@Schema(description = "渠道名称")
|
||||
private String channelCodeName;
|
||||
|
||||
@Schema(title = "支付订单号")
|
||||
@Schema(description = "支付订单号")
|
||||
private String no;
|
||||
|
||||
|
||||
|
@@ -11,86 +11,86 @@ import java.time.LocalDateTime;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 支付订单分页 Request VO")
|
||||
@Schema(description = "管理后台 - 支付订单分页 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayOrderPageReqVO extends PageParam {
|
||||
|
||||
@Schema(title = "商户编号")
|
||||
@Schema(description = "商户编号")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号")
|
||||
@Schema(description = "应用编号")
|
||||
private Long appId;
|
||||
|
||||
@Schema(title = "渠道编号")
|
||||
@Schema(description = "渠道编号")
|
||||
private Long channelId;
|
||||
|
||||
@Schema(title = "渠道编码")
|
||||
@Schema(description = "渠道编码")
|
||||
private String channelCode;
|
||||
|
||||
@Schema(title = "商户订单编号")
|
||||
@Schema(description = "商户订单编号")
|
||||
private String merchantOrderId;
|
||||
|
||||
@Schema(title = "商品标题")
|
||||
@Schema(description = "商品标题")
|
||||
private String subject;
|
||||
|
||||
@Schema(title = "商品描述")
|
||||
@Schema(description = "商品描述")
|
||||
private String body;
|
||||
|
||||
@Schema(title = "异步通知地址")
|
||||
@Schema(description = "异步通知地址")
|
||||
private String notifyUrl;
|
||||
|
||||
@Schema(title = "通知商户支付结果的回调状态")
|
||||
@Schema(description = "通知商户支付结果的回调状态")
|
||||
private Integer notifyStatus;
|
||||
|
||||
@Schema(title = "支付金额,单位:分")
|
||||
@Schema(description = "支付金额,单位:分")
|
||||
private Long amount;
|
||||
|
||||
@Schema(title = "渠道手续费,单位:百分比")
|
||||
@Schema(description = "渠道手续费,单位:百分比")
|
||||
private Double channelFeeRate;
|
||||
|
||||
@Schema(title = "渠道手续金额,单位:分")
|
||||
@Schema(description = "渠道手续金额,单位:分")
|
||||
private Long channelFeeAmount;
|
||||
|
||||
@Schema(title = "支付状态")
|
||||
@Schema(description = "支付状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "用户 IP")
|
||||
@Schema(description = "用户 IP")
|
||||
private String userIp;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "订单失效时间")
|
||||
@Schema(description = "订单失效时间")
|
||||
private LocalDateTime[] expireTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "订单支付成功时间")
|
||||
@Schema(description = "订单支付成功时间")
|
||||
private LocalDateTime[] successTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "订单支付通知时间")
|
||||
@Schema(description = "订单支付通知时间")
|
||||
private LocalDateTime[] notifyTime;
|
||||
|
||||
@Schema(title = "支付成功的订单拓展单编号")
|
||||
@Schema(description = "支付成功的订单拓展单编号")
|
||||
private Long successExtensionId;
|
||||
|
||||
@Schema(title = "退款状态")
|
||||
@Schema(description = "退款状态")
|
||||
private Integer refundStatus;
|
||||
|
||||
@Schema(title = "退款次数")
|
||||
@Schema(description = "退款次数")
|
||||
private Integer refundTimes;
|
||||
|
||||
@Schema(title = "退款总金额,单位:分")
|
||||
@Schema(description = "退款总金额,单位:分")
|
||||
private Long refundAmount;
|
||||
|
||||
@Schema(title = "渠道用户编号")
|
||||
@Schema(description = "渠道用户编号")
|
||||
private String channelUserId;
|
||||
|
||||
@Schema(title = "渠道订单号")
|
||||
@Schema(description = "渠道订单号")
|
||||
private String channelOrderNo;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -7,16 +7,16 @@ import lombok.ToString;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 支付订单 Response VO")
|
||||
@Schema(description = "管理后台 - 支付订单 Response VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayOrderRespVO extends PayOrderBaseVO {
|
||||
|
||||
@Schema(title = "支付订单编号", required = true)
|
||||
@Schema(description = "支付订单编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "创建时间", required = true)
|
||||
@Schema(description = "创建时间", required = true)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
|
@@ -15,94 +15,94 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
|
||||
@Data
|
||||
public class PayRefundBaseVO {
|
||||
|
||||
@Schema(title = "商户编号", required = true)
|
||||
@Schema(description = "商户编号", required = true)
|
||||
@NotNull(message = "商户编号不能为空")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号", required = true)
|
||||
@Schema(description = "应用编号", required = true)
|
||||
@NotNull(message = "应用编号不能为空")
|
||||
private Long appId;
|
||||
|
||||
@Schema(title = "渠道编号", required = true)
|
||||
@Schema(description = "渠道编号", required = true)
|
||||
@NotNull(message = "渠道编号不能为空")
|
||||
private Long channelId;
|
||||
|
||||
@Schema(title = "渠道编码", required = true)
|
||||
@Schema(description = "渠道编码", required = true)
|
||||
@NotNull(message = "渠道编码不能为空")
|
||||
private String channelCode;
|
||||
|
||||
@Schema(title = "支付订单编号 pay_order 表id", required = true)
|
||||
@Schema(description = "支付订单编号 pay_order 表id", required = true)
|
||||
@NotNull(message = "支付订单编号 pay_order 表id不能为空")
|
||||
private Long orderId;
|
||||
|
||||
@Schema(title = "交易订单号 pay_extension 表no 字段", required = true)
|
||||
@Schema(description = "交易订单号 pay_extension 表no 字段", required = true)
|
||||
@NotNull(message = "交易订单号 pay_extension 表no 字段不能为空")
|
||||
private String tradeNo;
|
||||
|
||||
@Schema(title = "商户订单编号(商户系统生成)", required = true)
|
||||
@Schema(description = "商户订单编号(商户系统生成)", required = true)
|
||||
@NotNull(message = "商户订单编号(商户系统生成)不能为空")
|
||||
private String merchantOrderId;
|
||||
|
||||
@Schema(title = "商户退款订单号(商户系统生成)", required = true)
|
||||
@Schema(description = "商户退款订单号(商户系统生成)", required = true)
|
||||
@NotNull(message = "商户退款订单号(商户系统生成)不能为空")
|
||||
private String merchantRefundNo;
|
||||
|
||||
@Schema(title = "异步通知商户地址", required = true)
|
||||
@Schema(description = "异步通知商户地址", required = true)
|
||||
@NotNull(message = "异步通知商户地址不能为空")
|
||||
private String notifyUrl;
|
||||
|
||||
@Schema(title = "通知商户退款结果的回调状态", required = true)
|
||||
@Schema(description = "通知商户退款结果的回调状态", required = true)
|
||||
@NotNull(message = "通知商户退款结果的回调状态不能为空")
|
||||
private Integer notifyStatus;
|
||||
|
||||
@Schema(title = "退款状态", required = true)
|
||||
@Schema(description = "退款状态", required = true)
|
||||
@NotNull(message = "退款状态不能为空")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "退款类型(部分退款,全部退款)", required = true)
|
||||
@Schema(description = "退款类型(部分退款,全部退款)", required = true)
|
||||
@NotNull(message = "退款类型(部分退款,全部退款)不能为空")
|
||||
private Integer type;
|
||||
|
||||
@Schema(title = "支付金额,单位分", required = true)
|
||||
@Schema(description = "支付金额,单位分", required = true)
|
||||
@NotNull(message = "支付金额,单位分不能为空")
|
||||
private Long payAmount;
|
||||
|
||||
@Schema(title = "退款金额,单位分", required = true)
|
||||
@Schema(description = "退款金额,单位分", required = true)
|
||||
@NotNull(message = "退款金额,单位分不能为空")
|
||||
private Long refundAmount;
|
||||
|
||||
@Schema(title = "退款原因", required = true)
|
||||
@Schema(description = "退款原因", required = true)
|
||||
@NotNull(message = "退款原因不能为空")
|
||||
private String reason;
|
||||
|
||||
@Schema(title = "用户 IP")
|
||||
@Schema(description = "用户 IP")
|
||||
private String userIp;
|
||||
|
||||
@Schema(title = "渠道订单号,pay_order 中的channel_order_no 对应", required = true)
|
||||
@Schema(description = "渠道订单号,pay_order 中的channel_order_no 对应", required = true)
|
||||
@NotNull(message = "渠道订单号,pay_order 中的channel_order_no 对应不能为空")
|
||||
private String channelOrderNo;
|
||||
|
||||
@Schema(title = "渠道退款单号,渠道返回")
|
||||
@Schema(description = "渠道退款单号,渠道返回")
|
||||
private String channelRefundNo;
|
||||
|
||||
@Schema(title = "渠道调用报错时,错误码")
|
||||
@Schema(description = "渠道调用报错时,错误码")
|
||||
private String channelErrorCode;
|
||||
|
||||
@Schema(title = "渠道调用报错时,错误信息")
|
||||
@Schema(description = "渠道调用报错时,错误信息")
|
||||
private String channelErrorMsg;
|
||||
|
||||
@Schema(title = "支付渠道的额外参数")
|
||||
@Schema(description = "支付渠道的额外参数")
|
||||
private String channelExtras;
|
||||
|
||||
@Schema(title = "退款失效时间")
|
||||
@Schema(description = "退款失效时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime expireTime;
|
||||
|
||||
@Schema(title = "退款成功时间")
|
||||
@Schema(description = "退款成功时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime successTime;
|
||||
|
||||
@Schema(title = "退款通知时间")
|
||||
@Schema(description = "退款通知时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime notifyTime;
|
||||
|
||||
|
@@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.pay.controller.admin.refund.vo;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
|
||||
@Schema(title = "管理后台 - 退款订单创建 Request VO")
|
||||
@Schema(description = "管理后台 - 退款订单创建 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
|
@@ -8,31 +8,31 @@ import lombok.ToString;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 退款订单详情 Response VO")
|
||||
@Schema(description = "管理后台 - 退款订单详情 Response VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayRefundDetailsRespVO extends PayRefundBaseVO {
|
||||
|
||||
@Schema(title = "支付退款编号", required = true)
|
||||
@Schema(description = "支付退款编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "商户名称")
|
||||
@Schema(description = "商户名称")
|
||||
private String merchantName;
|
||||
|
||||
@Schema(title = "应用名称")
|
||||
@Schema(description = "应用名称")
|
||||
private String appName;
|
||||
|
||||
@Schema(title = "渠道编号名称")
|
||||
@Schema(description = "渠道编号名称")
|
||||
private String channelCodeName;
|
||||
|
||||
@NotNull(message = "商品标题不能为空")
|
||||
private String subject;
|
||||
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(title = "更新时间")
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
|
@@ -8,87 +8,87 @@ import java.time.LocalDateTime;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 退款订单 Excel 导出 Request VO", description = "参数和 PayRefundPageReqVO 是一致的")
|
||||
@Schema(description = "管理后台 - 退款订单 Excel 导出 Request VO,参数和 PayRefundPageReqVO 是一致的")
|
||||
@Data
|
||||
public class PayRefundExportReqVO {
|
||||
|
||||
@Schema(title = "商户编号")
|
||||
@Schema(description = "商户编号")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号")
|
||||
@Schema(description = "应用编号")
|
||||
private Long appId;
|
||||
|
||||
@Schema(title = "渠道编号")
|
||||
@Schema(description = "渠道编号")
|
||||
private Long channelId;
|
||||
|
||||
@Schema(title = "渠道编码")
|
||||
@Schema(description = "渠道编码")
|
||||
private String channelCode;
|
||||
|
||||
@Schema(title = "支付订单编号 pay_order 表id")
|
||||
@Schema(description = "支付订单编号 pay_order 表id")
|
||||
private Long orderId;
|
||||
|
||||
@Schema(title = "交易订单号 pay_extension 表no 字段")
|
||||
@Schema(description = "交易订单号 pay_extension 表no 字段")
|
||||
private String tradeNo;
|
||||
|
||||
@Schema(title = "商户订单编号(商户系统生成)")
|
||||
@Schema(description = "商户订单编号(商户系统生成)")
|
||||
private String merchantOrderId;
|
||||
|
||||
@Schema(title = "商户退款订单号(商户系统生成)")
|
||||
@Schema(description = "商户退款订单号(商户系统生成)")
|
||||
private String merchantRefundNo;
|
||||
|
||||
@Schema(title = "异步通知商户地址")
|
||||
@Schema(description = "异步通知商户地址")
|
||||
private String notifyUrl;
|
||||
|
||||
@Schema(title = "通知商户退款结果的回调状态")
|
||||
@Schema(description = "通知商户退款结果的回调状态")
|
||||
private Integer notifyStatus;
|
||||
|
||||
@Schema(title = "退款状态")
|
||||
@Schema(description = "退款状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "退款类型(部分退款,全部退款)")
|
||||
@Schema(description = "退款类型(部分退款,全部退款)")
|
||||
private Integer type;
|
||||
|
||||
@Schema(title = "支付金额,单位分")
|
||||
@Schema(description = "支付金额,单位分")
|
||||
private Long payAmount;
|
||||
|
||||
@Schema(title = "退款金额,单位分")
|
||||
@Schema(description = "退款金额,单位分")
|
||||
private Long refundAmount;
|
||||
|
||||
@Schema(title = "退款原因")
|
||||
@Schema(description = "退款原因")
|
||||
private String reason;
|
||||
|
||||
@Schema(title = "用户 IP")
|
||||
@Schema(description = "用户 IP")
|
||||
private String userIp;
|
||||
|
||||
@Schema(title = "渠道订单号,pay_order 中的channel_order_no 对应")
|
||||
@Schema(description = "渠道订单号,pay_order 中的channel_order_no 对应")
|
||||
private String channelOrderNo;
|
||||
|
||||
@Schema(title = "渠道退款单号,渠道返回")
|
||||
@Schema(description = "渠道退款单号,渠道返回")
|
||||
private String channelRefundNo;
|
||||
|
||||
@Schema(title = "渠道调用报错时,错误码")
|
||||
@Schema(description = "渠道调用报错时,错误码")
|
||||
private String channelErrorCode;
|
||||
|
||||
@Schema(title = "渠道调用报错时,错误信息")
|
||||
@Schema(description = "渠道调用报错时,错误信息")
|
||||
private String channelErrorMsg;
|
||||
|
||||
@Schema(title = "支付渠道的额外参数")
|
||||
@Schema(description = "支付渠道的额外参数")
|
||||
private String channelExtras;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "退款失效时间")
|
||||
@Schema(description = "退款失效时间")
|
||||
private LocalDateTime[] expireTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "退款成功时间")
|
||||
@Schema(description = "退款成功时间")
|
||||
private LocalDateTime[] successTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "退款通知时间")
|
||||
@Schema(description = "退款通知时间")
|
||||
private LocalDateTime[] notifyTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -7,25 +7,25 @@ import lombok.ToString;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 退款订单分页查询 Response VO")
|
||||
@Schema(description = "管理后台 - 退款订单分页查询 Response VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayRefundPageItemRespVO extends PayRefundBaseVO {
|
||||
|
||||
@Schema(title = "支付订单编号", required = true)
|
||||
@Schema(description = "支付订单编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "商户名称")
|
||||
@Schema(description = "商户名称")
|
||||
private String merchantName;
|
||||
|
||||
@Schema(title = "应用名称")
|
||||
@Schema(description = "应用名称")
|
||||
private String appName;
|
||||
|
||||
@Schema(title = "渠道名称")
|
||||
@Schema(description = "渠道名称")
|
||||
private String channelCodeName;
|
||||
|
||||
@Schema(title = "创建时间", required = true)
|
||||
@Schema(description = "创建时间", required = true)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
|
@@ -11,89 +11,89 @@ import java.time.LocalDateTime;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(title = "管理后台 - 退款订单分页 Request VO")
|
||||
@Schema(description = "管理后台 - 退款订单分页 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayRefundPageReqVO extends PageParam {
|
||||
|
||||
@Schema(title = "商户编号")
|
||||
@Schema(description = "商户编号")
|
||||
private Long merchantId;
|
||||
|
||||
@Schema(title = "应用编号")
|
||||
@Schema(description = "应用编号")
|
||||
private Long appId;
|
||||
|
||||
@Schema(title = "渠道编号")
|
||||
@Schema(description = "渠道编号")
|
||||
private Long channelId;
|
||||
|
||||
@Schema(title = "渠道编码")
|
||||
@Schema(description = "渠道编码")
|
||||
private String channelCode;
|
||||
|
||||
@Schema(title = "支付订单编号 pay_order 表id")
|
||||
@Schema(description = "支付订单编号 pay_order 表id")
|
||||
private Long orderId;
|
||||
|
||||
@Schema(title = "交易订单号 pay_extension 表no 字段")
|
||||
@Schema(description = "交易订单号 pay_extension 表no 字段")
|
||||
private String tradeNo;
|
||||
|
||||
@Schema(title = "商户订单编号(商户系统生成)")
|
||||
@Schema(description = "商户订单编号(商户系统生成)")
|
||||
private String merchantOrderId;
|
||||
|
||||
@Schema(title = "商户退款订单号(商户系统生成)")
|
||||
@Schema(description = "商户退款订单号(商户系统生成)")
|
||||
private String merchantRefundNo;
|
||||
|
||||
@Schema(title = "异步通知商户地址")
|
||||
@Schema(description = "异步通知商户地址")
|
||||
private String notifyUrl;
|
||||
|
||||
@Schema(title = "通知商户退款结果的回调状态")
|
||||
@Schema(description = "通知商户退款结果的回调状态")
|
||||
private Integer notifyStatus;
|
||||
|
||||
@Schema(title = "退款状态")
|
||||
@Schema(description = "退款状态")
|
||||
private Integer status;
|
||||
|
||||
@Schema(title = "退款类型(部分退款,全部退款)")
|
||||
@Schema(description = "退款类型(部分退款,全部退款)")
|
||||
private Integer type;
|
||||
|
||||
@Schema(title = "支付金额,单位分")
|
||||
@Schema(description = "支付金额,单位分")
|
||||
private Long payAmount;
|
||||
|
||||
@Schema(title = "退款金额,单位分")
|
||||
@Schema(description = "退款金额,单位分")
|
||||
private Long refundAmount;
|
||||
|
||||
@Schema(title = "退款原因")
|
||||
@Schema(description = "退款原因")
|
||||
private String reason;
|
||||
|
||||
@Schema(title = "用户 IP")
|
||||
@Schema(description = "用户 IP")
|
||||
private String userIp;
|
||||
|
||||
@Schema(title = "渠道订单号,pay_order 中的channel_order_no 对应")
|
||||
@Schema(description = "渠道订单号,pay_order 中的channel_order_no 对应")
|
||||
private String channelOrderNo;
|
||||
|
||||
@Schema(title = "渠道退款单号,渠道返回")
|
||||
@Schema(description = "渠道退款单号,渠道返回")
|
||||
private String channelRefundNo;
|
||||
|
||||
@Schema(title = "渠道调用报错时,错误码")
|
||||
@Schema(description = "渠道调用报错时,错误码")
|
||||
private String channelErrorCode;
|
||||
|
||||
@Schema(title = "渠道调用报错时,错误信息")
|
||||
@Schema(description = "渠道调用报错时,错误信息")
|
||||
private String channelErrorMsg;
|
||||
|
||||
@Schema(title = "支付渠道的额外参数")
|
||||
@Schema(description = "支付渠道的额外参数")
|
||||
private String channelExtras;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "退款失效时间")
|
||||
@Schema(description = "退款失效时间")
|
||||
private LocalDateTime[] expireTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "退款成功时间")
|
||||
@Schema(description = "退款成功时间")
|
||||
private LocalDateTime[] successTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "退款通知时间")
|
||||
@Schema(description = "退款通知时间")
|
||||
private LocalDateTime[] notifyTime;
|
||||
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
@Schema(title = "创建时间")
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
}
|
||||
|
@@ -7,16 +7,16 @@ import lombok.ToString;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Schema(title = "管理后台 - 退款订单 Response VO")
|
||||
@Schema(description = "管理后台 - 退款订单 Response VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayRefundRespVO extends PayRefundBaseVO {
|
||||
|
||||
@Schema(title = "支付退款编号", required = true)
|
||||
@Schema(description = "支付退款编号", required = true)
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "创建时间", required = true)
|
||||
@Schema(description = "创建时间", required = true)
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
|
@@ -3,13 +3,13 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
@Schema(title = "管理后台 - 退款订单更新 Request VO")
|
||||
@Schema(description = "管理后台 - 退款订单更新 Request VO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ToString(callSuper = true)
|
||||
public class PayRefundUpdateReqVO extends PayRefundBaseVO {
|
||||
|
||||
@Schema(title = "支付退款编号", required = true)
|
||||
@Schema(description = "支付退款编号", required = true)
|
||||
@NotNull(message = "支付退款编号不能为空")
|
||||
private Long id;
|
||||
|
||||
|
@@ -8,20 +8,20 @@ import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Map;
|
||||
|
||||
@Schema(title = "用户 APP - 支付订单提交 Request VO")
|
||||
@Schema(description = "用户 APP - 支付订单提交 Request VO")
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class AppPayOrderSubmitReqVO {
|
||||
|
||||
@Schema(title = "支付单编号", required = true, example = "1024")
|
||||
@Schema(description = "支付单编号", required = true, example = "1024")
|
||||
@NotNull(message = "支付单编号不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(title = "支付渠道", required = true, example = "wx_pub")
|
||||
@Schema(description = "支付渠道", required = true, example = "wx_pub")
|
||||
@NotEmpty(message = "支付渠道不能为空")
|
||||
private String channelCode;
|
||||
|
||||
@Schema(title = "支付渠道的额外参数", description = "例如说,微信公众号需要传递 openid 参数")
|
||||
@Schema(description = "支付渠道的额外参数,例如说,微信公众号需要传递 openid 参数")
|
||||
private Map<String, String> channelExtras;
|
||||
|
||||
}
|
||||
|
@@ -7,7 +7,7 @@ import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@Schema(title = "用户 APP - 支付订单提交 Response VO")
|
||||
@Schema(description = "用户 APP - 支付订单提交 Response VO")
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@Builder
|
||||
|
@@ -8,25 +8,25 @@ import lombok.NoArgsConstructor;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Schema(title = "用户 APP - 退款订单 Req VO")
|
||||
@Schema(description = "用户 APP - 退款订单 Req VO")
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class AppPayRefundReqVO {
|
||||
|
||||
@Schema(title = "支付订单编号自增", required = true, example = "10")
|
||||
@Schema(description = "支付订单编号自增", required = true, example = "10")
|
||||
@NotNull(message = "支付订单编号自增")
|
||||
private Long payOrderId;
|
||||
|
||||
@Schema(title = "退款金额", required = true, example = "1")
|
||||
@Schema(description = "退款金额", required = true, example = "1")
|
||||
@NotNull(message = "退款金额")
|
||||
private Long amount;
|
||||
|
||||
@Schema(title = "退款原因", required = true, example = "不喜欢")
|
||||
@Schema(description = "退款原因", required = true, example = "不喜欢")
|
||||
@NotEmpty(message = "退款原因")
|
||||
private String reason;
|
||||
|
||||
@Schema(title = "商户退款订单号", required = true, example = "MR202111180000000001")
|
||||
@Schema(description = "商户退款订单号", required = true, example = "MR202111180000000001")
|
||||
//TODO 测试暂时模拟生成
|
||||
//@NotEmpty(message = "商户退款订单号")
|
||||
private String merchantRefundId;
|
||||
|
@@ -7,7 +7,7 @@ import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@Schema(title = "用户 APP - 提交退款订单 Response VO")
|
||||
@Schema(description = "用户 APP - 提交退款订单 Response VO")
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@Builder
|
||||
@@ -15,7 +15,7 @@ import lombok.experimental.Accessors;
|
||||
@AllArgsConstructor
|
||||
public class AppPayRefundRespVO {
|
||||
|
||||
@Schema(title = "退款订单编号", required = true, example = "10")
|
||||
@Schema(description = "退款订单编号", required = true, example = "10")
|
||||
private Long refundId;
|
||||
|
||||
}
|
||||
|
@@ -9,18 +9,18 @@ import lombok.NoArgsConstructor;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Schema(title = "支付单的通知 Request VO", description = "业务方接入支付回调时,使用该 VO 对象")
|
||||
@Schema(description = "支付单的通知 Request VO,业务方接入支付回调时,使用该 VO 对象")
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class PayNotifyOrderReqVO {
|
||||
|
||||
@Schema(title = "商户订单编号", required = true, example = "10")
|
||||
@Schema(description = "商户订单编号", required = true, example = "10")
|
||||
@NotEmpty(message = "商户订单号不能为空")
|
||||
private String merchantOrderId;
|
||||
|
||||
@Schema(title = "支付订单编号", required = true, example = "20")
|
||||
@Schema(description = "支付订单编号", required = true, example = "20")
|
||||
@NotNull(message = "支付订单编号不能为空")
|
||||
private Long payOrderId;
|
||||
|
||||
|
@@ -9,22 +9,22 @@ import lombok.NoArgsConstructor;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Schema(title = "退款单的通知 Request VO", description = "业务方接入退款回调时,使用该 VO 对象")
|
||||
@Schema(description = "退款单的通知 Request VO,业务方接入退款回调时,使用该 VO 对象")
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class PayRefundOrderReqVO {
|
||||
|
||||
@Schema(title = "商户退款单编号", required = true, example = "10")
|
||||
@Schema(description = "商户退款单编号", required = true, example = "10")
|
||||
@NotEmpty(message = "商户退款单编号不能为空")
|
||||
private String merchantOrderId;
|
||||
|
||||
@Schema(title = "支付退款编号", required = true, example = "20")
|
||||
@Schema(description = "支付退款编号", required = true, example = "20")
|
||||
@NotNull(message = "支付退款编号不能为空")
|
||||
private Long payRefundId;
|
||||
|
||||
@Schema(title = "退款状态(成功,失败)", required = true, example = "10")
|
||||
@Schema(description = "退款状态(成功,失败)", required = true, example = "10")
|
||||
private Integer status;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user