2.14.10, 还原jdk8,移除不用字段

This commit is contained in:
zaosheng
2026-01-02 11:01:49 +08:00
parent e1e50f7151
commit 5e2cce681e
25 changed files with 51 additions and 117 deletions

View File

@@ -30,7 +30,7 @@ public class PayoneerConfigStorage extends BasePayConfigStorage {
@Override
@Deprecated
public String getAppid() {
return null;
return programId;
}
/**
@@ -41,7 +41,7 @@ public class PayoneerConfigStorage extends BasePayConfigStorage {
*/
@Override
public String getAppId() {
return null;
return programId;
}
@@ -50,14 +50,11 @@ public class PayoneerConfigStorage extends BasePayConfigStorage {
*/
@Override
public String getPid() {
return programId;
}
@Override
public String getSeller() {
return userName;
}
/**
* 获取商户Id
*

View File

@@ -87,7 +87,7 @@ public class PayoneerPayService extends BasePayService<PayoneerConfigStorage> im
private HttpHeader authHeader() {
List<Header> headers = new ArrayList<>();
headers.add(new BasicHeader("Authorization", "Basic " + authorizationString(getPayConfigStorage().getSeller(), getPayConfigStorage().getKeyPrivate())));
headers.add(new BasicHeader("Authorization", "Basic " + authorizationString(getPayConfigStorage().getPid(), getPayConfigStorage().getKeyPrivate())));
return new HttpHeader(headers);
}
@@ -498,7 +498,7 @@ public class PayoneerPayService extends BasePayService<PayoneerConfigStorage> im
*/
@Override
public String getReqUrl(TransactionType type) {
return (payConfigStorage.isTest() ? SANDBOX_DOMAIN : RELEASE_DOMAIN) + payConfigStorage.getPid() + "/" + type.getMethod();
return (payConfigStorage.isTest() ? SANDBOX_DOMAIN : RELEASE_DOMAIN) + payConfigStorage.getAppId() + "/" + type.getMethod();
}