doc 注释问题

This commit is contained in:
bootx
2024-07-21 21:22:12 +08:00
parent 1cec4f7138
commit a54c6297b0
3 changed files with 17 additions and 19 deletions

View File

@@ -71,9 +71,9 @@ public class AliPayCloseService {
}
}
/**
* 交易撤销: 如果用户支付成功,会将此订单资金退还给用户. 限制时间为1天过了24小时该接口无法再使用。
/**交易撤销: 如果用户支付成功,会将此订单资金退还给用户. 限制时间为1天过了24小时该接口无法再使用。
* 可以视为一个特殊的接口, 需要专门签约这个接口的权限
*
*/
public void cancel(PayOrder payOrder, AliPayConfig config) {

View File

@@ -2,7 +2,6 @@ package cn.daxpay.single.service.dto.record.close;
import cn.bootx.platform.common.core.rest.dto.BaseDto;
import cn.daxpay.single.core.code.PayChannelEnum;
import cn.bootx.table.modify.annotation.DbColumn;
import cn.daxpay.single.service.code.PayCloseTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@@ -21,42 +20,42 @@ import lombok.experimental.Accessors;
public class PayCloseRecordDto extends BaseDto {
/** 订单号 */
@DbColumn(comment = "订单号")
@Schema(description = "订单号")
private String orderNo;
/** 商户订单号 */
@DbColumn(comment = "商户订单号")
@Schema(description = "商户订单号")
private String bizOrderNo;
/**
* 关闭的支付通道
* @see PayChannelEnum
*/
@DbColumn(comment = "关闭的异步支付通道")
@Schema(description = "关闭的异步支付通道")
private String channel;
/**
* 关闭类型 关闭/撤销
* @see PayCloseTypeEnum
*/
@DbColumn(comment = "关闭类型")
@Schema(description = "关闭类型")
private String closeType;
/**
* 是否关闭成功
*/
@DbColumn(comment = "是否关闭成功")
@Schema(description = "是否关闭成功")
private boolean closed;
/** 错误码 */
@DbColumn(comment = "错误码", length = 10)
@Schema(description = "错误码")
private String errorCode;
/** 错误信息 */
@DbColumn(comment = "错误信息", length = 2048)
@Schema(description = "错误信息")
private String errorMsg;
/** 终端ip */
@DbColumn(comment = "支付终端ip", length = 64)
@Schema(description = "支付终端ip")
private String clientIp;
}

View File

@@ -2,7 +2,6 @@ package cn.daxpay.single.service.param.record;
import cn.bootx.platform.common.core.rest.param.QueryOrder;
import cn.daxpay.single.core.code.PayChannelEnum;
import cn.bootx.table.modify.annotation.DbColumn;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -20,35 +19,35 @@ import lombok.experimental.Accessors;
public class PayCloseRecordQuery extends QueryOrder {
/** 订单号 */
@DbColumn(comment = "订单号")
@Schema(description = "订单号")
private String orderNo;
/** 商户订单号 */
@DbColumn(comment = "商户订单号")
@Schema(description = "商户订单号")
private String bizOrderNo;
/**
* 关闭的支付通道
* @see PayChannelEnum
*/
@DbColumn(comment = "关闭的支付通道")
@Schema(description = "关闭的支付通道")
private String channel;
/**
* 是否关闭成功
*/
@DbColumn(comment = "是否关闭成功")
@Schema(description = "是否关闭成功")
private Boolean closed;
/** 错误码 */
@DbColumn(comment = "错误码")
@Schema(description = "错误码")
private String errorCode;
/** 错误消息 */
@DbColumn(comment = "错误消息")
@Schema(description = "错误消息")
private String errorMsg;
/** 终端ip */
@DbColumn(comment = "支付终端ip", length = 64)
@Schema(description = "支付终端ip")
private String clientIp;
}