| @@ -4,6 +4,7 @@ import java.util.Map; | |||||
| import java.util.concurrent.ConcurrentHashMap; | import java.util.concurrent.ConcurrentHashMap; | ||||
| import com.iformall.service.pay.service.pay.douyin.miniApp.TtMiniAppPayAdapterService; | 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 com.iformall.service.pay.service.share.douyin.TtPayShareService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| @@ -54,6 +55,9 @@ public class PayServiceFactory { | |||||
| @Autowired | @Autowired | ||||
| WxRefundAdapterService wxRefundService; | WxRefundAdapterService wxRefundService; | ||||
| @Autowired | |||||
| TtRefundAdapterService ttRefundService; | |||||
| @Autowired | @Autowired | ||||
| WxCashOutAdapterService WxCashOutService; | WxCashOutAdapterService WxCashOutService; | ||||
| @@ -97,6 +101,7 @@ public class PayServiceFactory { | |||||
| refundMap = new ConcurrentHashMap<Integer, RefundPayAdapterService>(); | refundMap = new ConcurrentHashMap<Integer, RefundPayAdapterService>(); | ||||
| refundMap.put(EnumPayWay.PAY_WAY_WECHAT.getCode(), wxRefundService); | refundMap.put(EnumPayWay.PAY_WAY_WECHAT.getCode(), wxRefundService); | ||||
| refundMap.put(EnumPayWay.PAY_WAY_WECHAT_MA.getCode(), wxRefundService); | refundMap.put(EnumPayWay.PAY_WAY_WECHAT_MA.getCode(), wxRefundService); | ||||
| refundMap.put(EnumPayWay.PAY_WAY_TT.getCode(), ttRefundService); | |||||
| } | } | ||||
| return refundMap; | return refundMap; | ||||
| } | } | ||||