Skip to content

Commit e63ff35

Browse files
committed
feat(微信支付): 医保自费混合收款下单
1 parent 8e2ff73 commit e63ff35

1 file changed

Lines changed: 8 additions & 114 deletions

File tree

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java

Lines changed: 8 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -2,127 +2,27 @@
22

33
import static com.github.binarywang.wxpay.constant.WxPayConstants.QUERY_COMMENT_DATE_FORMAT;
44
import static com.github.binarywang.wxpay.constant.WxPayConstants.TarType;
5-
5+
import com.github.binarywang.wxpay.bean.coupon.*;
6+
import com.github.binarywang.wxpay.bean.notify.*;
7+
import com.github.binarywang.wxpay.bean.request.*;
8+
import com.github.binarywang.wxpay.bean.result.*;
9+
import com.github.binarywang.wxpay.service.*;
10+
import java.util.*;
11+
import com.github.binarywang.wxpay.bean.result.enums.GlobalTradeTypeEnum;
12+
import com.github.binarywang.wxpay.bean.result.enums.TradeTypeEnum;
613
import com.github.binarywang.utils.qrcode.QrcodeUtils;
714
import com.github.binarywang.wxpay.bean.WxPayApiData;
8-
import com.github.binarywang.wxpay.bean.coupon.WxPayCouponInfoQueryRequest;
9-
import com.github.binarywang.wxpay.bean.coupon.WxPayCouponInfoQueryResult;
10-
import com.github.binarywang.wxpay.bean.coupon.WxPayCouponSendRequest;
11-
import com.github.binarywang.wxpay.bean.coupon.WxPayCouponSendResult;
12-
import com.github.binarywang.wxpay.bean.coupon.WxPayCouponStockQueryRequest;
13-
import com.github.binarywang.wxpay.bean.coupon.WxPayCouponStockQueryResult;
14-
import com.github.binarywang.wxpay.bean.notify.CombineNotifyResult;
15-
import com.github.binarywang.wxpay.bean.notify.ComplaintNotifyResult;
16-
import com.github.binarywang.wxpay.bean.notify.OriginNotifyResponse;
17-
import com.github.binarywang.wxpay.bean.notify.SignatureHeader;
18-
import com.github.binarywang.wxpay.bean.notify.WxPayBaseNotifyV3Result;
19-
import com.github.binarywang.wxpay.bean.notify.WxPayNotifyV3Result;
20-
import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
21-
import com.github.binarywang.wxpay.bean.notify.WxPayPartnerNotifyV3Result;
22-
import com.github.binarywang.wxpay.bean.notify.WxPayPartnerRefundNotifyV3Result;
23-
import com.github.binarywang.wxpay.bean.notify.WxPayRefundNotifyResult;
24-
import com.github.binarywang.wxpay.bean.notify.WxPayRefundNotifyV3Result;
25-
import com.github.binarywang.wxpay.bean.notify.WxPayTransferBatchesNotifyV3Result;
26-
import com.github.binarywang.wxpay.bean.notify.WxScanPayNotifyResult;
2715
import com.github.binarywang.wxpay.bean.order.WxPayAppOrderResult;
2816
import com.github.binarywang.wxpay.bean.order.WxPayMpOrderResult;
2917
import com.github.binarywang.wxpay.bean.order.WxPayMwebOrderResult;
3018
import com.github.binarywang.wxpay.bean.order.WxPayNativeOrderResult;
31-
import com.github.binarywang.wxpay.bean.request.CombineCloseRequest;
32-
import com.github.binarywang.wxpay.bean.request.CombineTransactionsRequest;
33-
import com.github.binarywang.wxpay.bean.request.WxPayApplyFundFlowBillV3Request;
34-
import com.github.binarywang.wxpay.bean.request.WxPayApplyTradeBillV3Request;
35-
import com.github.binarywang.wxpay.bean.request.WxPayAuthcode2OpenidRequest;
36-
import com.github.binarywang.wxpay.bean.request.WxPayCodepayRequest;
37-
import com.github.binarywang.wxpay.bean.request.WxPayDefaultRequest;
38-
import com.github.binarywang.wxpay.bean.request.WxPayDownloadBillRequest;
39-
import com.github.binarywang.wxpay.bean.request.WxPayDownloadFundFlowRequest;
40-
import com.github.binarywang.wxpay.bean.request.WxPayFaceAuthInfoRequest;
41-
import com.github.binarywang.wxpay.bean.request.WxPayFacepayRequest;
42-
import com.github.binarywang.wxpay.bean.request.WxPayMicropayRequest;
43-
import com.github.binarywang.wxpay.bean.request.WxPayOrderCloseRequest;
44-
import com.github.binarywang.wxpay.bean.request.WxPayOrderCloseV3Request;
45-
import com.github.binarywang.wxpay.bean.request.WxPayOrderQueryRequest;
46-
import com.github.binarywang.wxpay.bean.request.WxPayOrderQueryV3Request;
47-
import com.github.binarywang.wxpay.bean.request.WxPayOrderReverseRequest;
48-
import com.github.binarywang.wxpay.bean.request.WxPayOrderReverseV3Request;
49-
import com.github.binarywang.wxpay.bean.request.WxPayPartnerOrderCloseV3Request;
50-
import com.github.binarywang.wxpay.bean.request.WxPayPartnerOrderQueryV3Request;
51-
import com.github.binarywang.wxpay.bean.request.WxPayPartnerRefundV3Request;
52-
import com.github.binarywang.wxpay.bean.request.WxPayPartnerUnifiedOrderV3Request;
53-
import com.github.binarywang.wxpay.bean.request.WxPayQueryCommentRequest;
54-
import com.github.binarywang.wxpay.bean.request.WxPayQueryExchangeRateRequest;
55-
import com.github.binarywang.wxpay.bean.request.WxPayRefundQueryRequest;
56-
import com.github.binarywang.wxpay.bean.request.WxPayRefundQueryV3Request;
57-
import com.github.binarywang.wxpay.bean.request.WxPayRefundRequest;
58-
import com.github.binarywang.wxpay.bean.request.WxPayRefundV3Request;
59-
import com.github.binarywang.wxpay.bean.request.WxPayReportRequest;
60-
import com.github.binarywang.wxpay.bean.request.WxPayShorturlRequest;
61-
import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest;
62-
import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderV3GlobalRequest;
63-
import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderV3Request;
64-
import com.github.binarywang.wxpay.bean.result.BaseWxPayResult;
65-
import com.github.binarywang.wxpay.bean.result.CombineQueryResult;
66-
import com.github.binarywang.wxpay.bean.result.CombineTransactionsResult;
67-
import com.github.binarywang.wxpay.bean.result.WxPayApplyBillV3Result;
68-
import com.github.binarywang.wxpay.bean.result.WxPayAuthcode2OpenidResult;
69-
import com.github.binarywang.wxpay.bean.result.WxPayBillResult;
70-
import com.github.binarywang.wxpay.bean.result.WxPayCodepayResult;
71-
import com.github.binarywang.wxpay.bean.result.WxPayCommonResult;
72-
import com.github.binarywang.wxpay.bean.result.WxPayFaceAuthInfoResult;
73-
import com.github.binarywang.wxpay.bean.result.WxPayFacepayResult;
74-
import com.github.binarywang.wxpay.bean.result.WxPayFundFlowBaseResult;
75-
import com.github.binarywang.wxpay.bean.result.WxPayFundFlowResult;
76-
import com.github.binarywang.wxpay.bean.result.WxPayMicropayResult;
77-
import com.github.binarywang.wxpay.bean.result.WxPayOrderCloseResult;
78-
import com.github.binarywang.wxpay.bean.result.WxPayOrderQueryResult;
79-
import com.github.binarywang.wxpay.bean.result.WxPayOrderQueryV3Result;
80-
import com.github.binarywang.wxpay.bean.result.WxPayOrderReverseResult;
81-
import com.github.binarywang.wxpay.bean.result.WxPayOrderReverseV3Result;
82-
import com.github.binarywang.wxpay.bean.result.WxPayPartnerOrderQueryV3Result;
83-
import com.github.binarywang.wxpay.bean.result.WxPayQueryExchangeRateResult;
84-
import com.github.binarywang.wxpay.bean.result.WxPayRefundQueryResult;
85-
import com.github.binarywang.wxpay.bean.result.WxPayRefundQueryV3Result;
86-
import com.github.binarywang.wxpay.bean.result.WxPayRefundResult;
87-
import com.github.binarywang.wxpay.bean.result.WxPayRefundV3Result;
88-
import com.github.binarywang.wxpay.bean.result.WxPaySandboxSignKeyResult;
89-
import com.github.binarywang.wxpay.bean.result.WxPayShorturlResult;
90-
import com.github.binarywang.wxpay.bean.result.WxPayUnifiedOrderResult;
91-
import com.github.binarywang.wxpay.bean.result.WxPayUnifiedOrderV3Result;
92-
import com.github.binarywang.wxpay.bean.result.enums.GlobalTradeTypeEnum;
93-
import com.github.binarywang.wxpay.bean.result.enums.TradeTypeEnum;
9419
import com.github.binarywang.wxpay.bean.transfer.TransferBillsNotifyResult;
9520
import com.github.binarywang.wxpay.config.WxPayConfig;
9621
import com.github.binarywang.wxpay.config.WxPayConfigHolder;
9722
import com.github.binarywang.wxpay.constant.WxPayConstants.SignType;
9823
import com.github.binarywang.wxpay.constant.WxPayConstants.TradeType;
9924
import com.github.binarywang.wxpay.exception.WxPayException;
10025
import com.github.binarywang.wxpay.exception.WxSignTestException;
101-
import com.github.binarywang.wxpay.service.BankService;
102-
import com.github.binarywang.wxpay.service.BrandMerchantTransferService;
103-
import com.github.binarywang.wxpay.service.BusinessCircleService;
104-
import com.github.binarywang.wxpay.service.BusinessOperationTransferService;
105-
import com.github.binarywang.wxpay.service.ComplaintService;
106-
import com.github.binarywang.wxpay.service.EcommerceService;
107-
import com.github.binarywang.wxpay.service.EntPayService;
108-
import com.github.binarywang.wxpay.service.MarketingBusiFavorService;
109-
import com.github.binarywang.wxpay.service.MarketingFavorService;
110-
import com.github.binarywang.wxpay.service.MarketingMediaService;
111-
import com.github.binarywang.wxpay.service.MerchantMediaService;
112-
import com.github.binarywang.wxpay.service.MerchantTransferService;
113-
import com.github.binarywang.wxpay.service.MiPayService;
114-
import com.github.binarywang.wxpay.service.PartnerPayScoreService;
115-
import com.github.binarywang.wxpay.service.PartnerPayScoreSignPlanService;
116-
import com.github.binarywang.wxpay.service.PartnerTransferService;
117-
import com.github.binarywang.wxpay.service.PayScoreService;
118-
import com.github.binarywang.wxpay.service.PayrollService;
119-
import com.github.binarywang.wxpay.service.ProfitSharingService;
120-
import com.github.binarywang.wxpay.service.RedpackService;
121-
import com.github.binarywang.wxpay.service.SubscriptionBillingService;
122-
import com.github.binarywang.wxpay.service.TransferService;
123-
import com.github.binarywang.wxpay.service.WxDepositService;
124-
import com.github.binarywang.wxpay.service.WxEntrustPapService;
125-
import com.github.binarywang.wxpay.service.WxPayService;
12626
import com.github.binarywang.wxpay.util.SignUtils;
12727
import com.github.binarywang.wxpay.util.XmlConfig;
12828
import com.github.binarywang.wxpay.util.ZipUtils;
@@ -140,12 +40,6 @@
14040
import java.nio.file.Path;
14141
import java.nio.file.Paths;
14242
import java.security.GeneralSecurityException;
143-
import java.util.Date;
144-
import java.util.HashMap;
145-
import java.util.LinkedList;
146-
import java.util.List;
147-
import java.util.Map;
148-
import java.util.Objects;
14943
import java.util.concurrent.ConcurrentHashMap;
15044
import java.util.zip.ZipException;
15145
import lombok.Getter;

0 commit comments

Comments
 (0)