Compare commits
2 Commits
copilot/de
...
copilot/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bf69cbbc6 | ||
|
|
aa94c5c4d4 |
@@ -21,7 +21,7 @@ public interface BusinessOperationTransferService {
|
||||
* 发起运营工具商家转账
|
||||
*
|
||||
* 请求方式:POST(HTTPS)
|
||||
* 请求地址:https://api.mch.weixin.qq.com/v3/fund-app/operation/mch-transfer/transfer-bills
|
||||
* 请求地址:https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills
|
||||
*
|
||||
* 文档地址:<a href="https://pay.weixin.qq.com/doc/v3/merchant/4012711988">运营工具-商家转账API</a>
|
||||
* </pre>
|
||||
@@ -37,7 +37,7 @@ public interface BusinessOperationTransferService {
|
||||
* 查询运营工具转账结果
|
||||
*
|
||||
* 请求方式:GET(HTTPS)
|
||||
* 请求地址:https://api.mch.weixin.qq.com/v3/fund-app/operation/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}
|
||||
* 请求地址:https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}
|
||||
*
|
||||
* 文档地址:<a href="https://pay.weixin.qq.com/doc/v3/merchant/4012711988">运营工具-商家转账API</a>
|
||||
* </pre>
|
||||
@@ -53,7 +53,7 @@ public interface BusinessOperationTransferService {
|
||||
* 通过商户单号查询运营工具转账结果
|
||||
*
|
||||
* 请求方式:GET(HTTPS)
|
||||
* 请求地址:https://api.mch.weixin.qq.com/v3/fund-app/operation/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}
|
||||
* 请求地址:https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}
|
||||
*
|
||||
* 文档地址:<a href="https://pay.weixin.qq.com/doc/v3/merchant/4012711988">运营工具-商家转账API</a>
|
||||
* </pre>
|
||||
@@ -69,7 +69,7 @@ public interface BusinessOperationTransferService {
|
||||
* 通过微信转账单号查询运营工具转账结果
|
||||
*
|
||||
* 请求方式:GET(HTTPS)
|
||||
* 请求地址:https://api.mch.weixin.qq.com/v3/fund-app/operation/mch-transfer/transfer-bills/transfer-bill-no/{transfer_bill_no}
|
||||
* 请求地址:https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/transfer-bill-no/{transfer_bill_no}
|
||||
*
|
||||
* 文档地址:<a href="https://pay.weixin.qq.com/doc/v3/merchant/4012711988">运营工具-商家转账API</a>
|
||||
* </pre>
|
||||
|
||||
@@ -33,7 +33,7 @@ public class BusinessOperationTransferServiceImpl implements BusinessOperationTr
|
||||
request.setAppid(this.wxPayService.getConfig().getAppId());
|
||||
}
|
||||
|
||||
String url = String.format("%s/v3/fund-app/operation/mch-transfer/transfer-bills", this.wxPayService.getPayBaseUrl());
|
||||
String url = String.format("%s/v3/fund-app/mch-transfer/transfer-bills", this.wxPayService.getPayBaseUrl());
|
||||
|
||||
// 如果传入了用户姓名,需要进行RSA加密
|
||||
if (StringUtils.isNotEmpty(request.getUserName())) {
|
||||
@@ -58,7 +58,7 @@ public class BusinessOperationTransferServiceImpl implements BusinessOperationTr
|
||||
|
||||
@Override
|
||||
public BusinessOperationTransferQueryResult queryOperationTransferByOutBillNo(String outBillNo) throws WxPayException {
|
||||
String url = String.format("%s/v3/fund-app/operation/mch-transfer/transfer-bills/out-bill-no/%s",
|
||||
String url = String.format("%s/v3/fund-app/mch-transfer/transfer-bills/out-bill-no/%s",
|
||||
this.wxPayService.getPayBaseUrl(), outBillNo);
|
||||
String response = wxPayService.getV3(url);
|
||||
return GSON.fromJson(response, BusinessOperationTransferQueryResult.class);
|
||||
@@ -66,7 +66,7 @@ public class BusinessOperationTransferServiceImpl implements BusinessOperationTr
|
||||
|
||||
@Override
|
||||
public BusinessOperationTransferQueryResult queryOperationTransferByTransferBillNo(String transferBillNo) throws WxPayException {
|
||||
String url = String.format("%s/v3/fund-app/operation/mch-transfer/transfer-bills/transfer-bill-no/%s",
|
||||
String url = String.format("%s/v3/fund-app/mch-transfer/transfer-bills/transfer-bill-no/%s",
|
||||
this.wxPayService.getPayBaseUrl(), transferBillNo);
|
||||
String response = wxPayService.getV3(url);
|
||||
return GSON.fromJson(response, BusinessOperationTransferQueryResult.class);
|
||||
|
||||
Reference in New Issue
Block a user