xhxu 4 лет назад
Родитель
Сommit
b3284af265
1 измененных файлов: 5 добавлений и 0 удалений
  1. +5
    -0
      mallinkService/src/main/java/com/iformall/service/pay/PayServiceFactory.java

+ 5
- 0
mallinkService/src/main/java/com/iformall/service/pay/PayServiceFactory.java Просмотреть файл

@@ -4,6 +4,7 @@ import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import com.iformall.service.pay.service.pay.douyin.miniApp.TtMiniAppPayAdapterService;
import com.iformall.service.pay.service.refund.douyin.TtRefundAdapterService;
import com.iformall.service.pay.service.share.douyin.TtPayShareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -54,6 +55,9 @@ public class PayServiceFactory {
@Autowired
WxRefundAdapterService wxRefundService;

@Autowired
TtRefundAdapterService ttRefundService;
@Autowired
WxCashOutAdapterService WxCashOutService;
@@ -97,6 +101,7 @@ public class PayServiceFactory {
refundMap = new ConcurrentHashMap<Integer, RefundPayAdapterService>();
refundMap.put(EnumPayWay.PAY_WAY_WECHAT.getCode(), wxRefundService);
refundMap.put(EnumPayWay.PAY_WAY_WECHAT_MA.getCode(), wxRefundService);
refundMap.put(EnumPayWay.PAY_WAY_TT.getCode(), ttRefundService);
}
return refundMap;
}


Загрузка…
Отмена
Сохранить