移除过期方法

This commit is contained in:
egzosn@gmail.com
2017-07-28 17:08:11 +08:00
parent 12b9d3eac3
commit f9e779f596
5 changed files with 3 additions and 28 deletions

View File

@@ -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);
}