mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-19 07:31:36 +08:00
移除过期方法
This commit is contained in:
@@ -69,7 +69,6 @@ public enum PayType implements BasePayType {
|
||||
public PayService getPayService(ApyAccount apyAccount) {
|
||||
WxPayConfigStorage wxPayConfigStorage = new WxPayConfigStorage();
|
||||
wxPayConfigStorage.setMchId(apyAccount.getPartner());
|
||||
wxPayConfigStorage.setAppSecret(apyAccount.getPublicKey());
|
||||
wxPayConfigStorage.setKeyPublic(apyAccount.getPublicKey());
|
||||
wxPayConfigStorage.setAppid(apyAccount.getAppid());
|
||||
wxPayConfigStorage.setKeyPrivate(apyAccount.getPrivateKey());
|
||||
@@ -127,6 +126,7 @@ public enum PayType implements BasePayType {
|
||||
@Override
|
||||
public PayService getPayService(ApyAccount apyAccount) {
|
||||
FuiouPayConfigStorage fuiouPayConfigStorage = new FuiouPayConfigStorage();
|
||||
fuiouPayConfigStorage.setKeyPublic(apyAccount.getPublicKey());
|
||||
fuiouPayConfigStorage.setKeyPrivate(apyAccount.getPrivateKey());
|
||||
fuiouPayConfigStorage.setNotifyUrl(apyAccount.getNotifyUrl());
|
||||
fuiouPayConfigStorage.setReturnUrl(apyAccount.getReturnUrl());
|
||||
@@ -140,7 +140,6 @@ public enum PayType implements BasePayType {
|
||||
|
||||
@Override
|
||||
public TransactionType getTransactionType(String transactionType) {
|
||||
// in.egan.pay.ali.before.bean.AliTransactionType 17年更新的版本,旧版本请自行切换
|
||||
return FuiouTransactionType.valueOf(transactionType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user