mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-19 15:36:28 +08:00
paypal支付刷新token,代码整理
This commit is contained in:
@@ -19,61 +19,61 @@ import java.util.concurrent.locks.ReentrantLock;
|
||||
*/
|
||||
public abstract class BasePayConfigStorage implements PayConfigStorage {
|
||||
|
||||
private volatile Object attach;
|
||||
private Object attach;
|
||||
/**
|
||||
* 证书管理器
|
||||
*/
|
||||
private volatile CertDescriptor certDescriptor;
|
||||
private CertDescriptor certDescriptor;
|
||||
|
||||
/**
|
||||
* 应用私钥,rsa_private pkcs8格式 生成签名时使用
|
||||
*/
|
||||
private volatile String keyPrivate;
|
||||
private String keyPrivate;
|
||||
/**
|
||||
* 应用私钥,rsa_private pkcs8格式 生成签名时使用
|
||||
*/
|
||||
private volatile String keyPrivateCertPwd;
|
||||
private String keyPrivateCertPwd;
|
||||
/**
|
||||
* 支付平台公钥(签名校验使用)
|
||||
*/
|
||||
private volatile String keyPublic;
|
||||
private String keyPublic;
|
||||
/**
|
||||
* 异步回调地址
|
||||
*/
|
||||
private volatile String notifyUrl;
|
||||
private String notifyUrl;
|
||||
/**
|
||||
* 同步回调地址,支付完成后展示的页面
|
||||
*/
|
||||
private volatile String returnUrl;
|
||||
private String returnUrl;
|
||||
/**
|
||||
* 签名加密类型
|
||||
*/
|
||||
private volatile String signType;
|
||||
private String signType;
|
||||
/**
|
||||
* 字符类型
|
||||
*/
|
||||
private volatile String inputCharset;
|
||||
private String inputCharset;
|
||||
|
||||
|
||||
/**
|
||||
* 支付类型 aliPay 支付宝, wxPay微信..等等,扩展支付模块定义唯一。
|
||||
*/
|
||||
private volatile String payType;
|
||||
private String payType;
|
||||
|
||||
/**
|
||||
* 消息来源类型
|
||||
*/
|
||||
private volatile MsgType msgType;
|
||||
private MsgType msgType;
|
||||
|
||||
|
||||
/**
|
||||
* 访问令牌 每次请求其他方法都要传入的值
|
||||
*/
|
||||
private volatile String accessToken;
|
||||
private String accessToken;
|
||||
/**
|
||||
* access token 到期时间时间戳
|
||||
*/
|
||||
private volatile long expiresTime;
|
||||
private long expiresTime;
|
||||
/**
|
||||
* 授权码锁
|
||||
*/
|
||||
@@ -91,7 +91,7 @@ public abstract class BasePayConfigStorage implements PayConfigStorage {
|
||||
/**
|
||||
* 支付回调消息
|
||||
*/
|
||||
protected volatile PayMessageHandler handler;
|
||||
protected PayMessageHandler handler;
|
||||
|
||||
@Override
|
||||
public Object getAttach() {
|
||||
|
||||
Reference in New Issue
Block a user