|
|
|
@@ -6,11 +6,8 @@ import java.util.concurrent.ConcurrentHashMap; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import com.iformall.common.ErrorCode; |
|
|
|
import com.iformall.domain.po.WxMerchantBUser; |
|
|
|
import com.iformall.domain.po.WxPayOrder; |
|
|
|
import com.iformall.enums.EnumPayWay; |
|
|
|
import com.iformall.exception.MallinkException; |
|
|
|
import com.iformall.service.WxPayOrderService; |
|
|
|
import com.iformall.service.pay.service.pay.CDrivingPayService; |
|
|
|
import com.iformall.service.pay.service.pay.CPassivePayService; |
|
|
|
import com.iformall.service.pay.service.pay.PayAdapterService; |
|
|
|
@@ -20,7 +17,6 @@ import com.iformall.service.pay.service.pay.wx.miniApp.maPay.WxMiniMaPayAdapterS |
|
|
|
import com.iformall.service.pay.service.refund.RefundPayAdapterService; |
|
|
|
import com.iformall.service.pay.service.refund.wx.WxRefundAdapterService; |
|
|
|
import com.iformall.service.pay.service.share.PayShareAdapterService; |
|
|
|
import com.iformall.service.pay.service.share.neupos.NeuPosPayShareService; |
|
|
|
import com.iformall.service.pay.service.share.wx.WxPayShareService; |
|
|
|
|
|
|
|
/** |
|
|
|
@@ -44,8 +40,6 @@ public class PayServiceFactory { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
WxPayShareService wxShareService; |
|
|
|
@Autowired |
|
|
|
NeuPosPayShareService neuPosPayShareService; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
@@ -68,7 +62,7 @@ public class PayServiceFactory { |
|
|
|
shareMap = new ConcurrentHashMap<Integer, PayShareAdapterService>(); |
|
|
|
shareMap.put(EnumPayWay.PAY_WAY_WECHAT.getCode(), wxShareService); |
|
|
|
shareMap.put(EnumPayWay.PAY_WAY_WECHAT_MA.getCode(), wxShareService); |
|
|
|
shareMap.put(EnumPayWay.PAY_WAY_POS_NEU.getCode(), neuPosPayShareService); |
|
|
|
shareMap.put(EnumPayWay.PAY_WAY_POS_NEU.getCode(), wxShareService); |
|
|
|
} |
|
|
|
return shareMap; |
|
|
|
} |
|
|
|
|