支付类型
This commit is contained in:
@@ -46,18 +46,9 @@ public interface SystemConstants {
|
||||
|
||||
|
||||
/**
|
||||
* 三方支付类型
|
||||
* 小程序APPID
|
||||
*/
|
||||
class PayType {
|
||||
/**
|
||||
* 微信支付
|
||||
*/
|
||||
public static final String WECHAT = "wechatPay";
|
||||
|
||||
/**
|
||||
* 支付宝支付
|
||||
*/
|
||||
public static final String ALIPAY = "alipay";
|
||||
class PayAppId {
|
||||
|
||||
/**
|
||||
* 微信小程序支付
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 小程序支付 其它类型
|
||||
* payType 必填 支付方式,aliPay 支付宝,wechatPay 微信
|
||||
* payType 必填 支付方式,ALIPAY 支付宝,WECHAT 微信
|
||||
* openId 必填
|
||||
* @author ww
|
||||
*/
|
||||
@@ -32,7 +32,7 @@ public class LtPayOtherDTO {
|
||||
@NotNull(message = "兑换数量不能为空")
|
||||
private int number;
|
||||
/**
|
||||
* 支付方式 支付方式,aliPay 支付宝,wechatPay 微信
|
||||
* 支付方式,ALIPAY 支付宝,WECHAT 微信
|
||||
*/
|
||||
private String payType;
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
|
||||
package com.czg.order.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@@ -26,7 +25,7 @@ public class MkDistributionPayDTO implements Serializable {
|
||||
private Long userId;
|
||||
/**
|
||||
* 支付类型
|
||||
* {@link com.czg.constants.SystemConstants.PayType}
|
||||
* {@link com.czg.PayCst.Type}
|
||||
*/
|
||||
private String payType;
|
||||
private String returnUrl;
|
||||
|
||||
Reference in New Issue
Block a user