瀏覽代碼

// add bank shar

formao-live
xhxu 2 年之前
父節點
當前提交
232425a094
共有 2 個檔案被更改,包括 11 行新增3 行删除
  1. +10
    -2
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/SettlementInfoResult.java
  2. +1
    -1
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/Applyment4SubService.java

+ 10
- 2
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/SettlementInfoResult.java 查看文件

@@ -1,5 +1,7 @@
package com.github.binarywang.wxpay.bean.applyment; package com.github.binarywang.wxpay.bean.applyment;


import com.github.binarywang.wxpay.bean.applyment.enums.AccountTypeEnum;
import com.github.binarywang.wxpay.bean.applyment.enums.SettlementVerifyResultEnum;
import com.google.gson.annotations.SerializedName; import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
@@ -23,7 +25,7 @@ public class SettlementInfoResult implements Serializable {
* 账户类型 * 账户类型
*/ */
@SerializedName("account_type") @SerializedName("account_type")
private String accountType;
private AccountTypeEnum accountType;
/** /**
* 开户银行 * 开户银行
*/ */
@@ -50,5 +52,11 @@ public class SettlementInfoResult implements Serializable {
* @see com.github.binarywang.wxpay.bean.applyment.enums.SettlementVerifyResultEnum * @see com.github.binarywang.wxpay.bean.applyment.enums.SettlementVerifyResultEnum
*/ */
@SerializedName("verify_result") @SerializedName("verify_result")
private String verifyResult;
private SettlementVerifyResultEnum verifyResult;

/**
* 汇款验证失败原因
*/
@SerializedName("verify_fail_reason")
private String verifyFailReason;
} }

+ 1
- 1
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/Applyment4SubService.java 查看文件

@@ -49,7 +49,7 @@ public interface Applyment4SubService {
ApplymentStateQueryResult queryApplyStatusByApplymentId(String applymentId) throws WxPayException; ApplymentStateQueryResult queryApplyStatusByApplymentId(String applymentId) throws WxPayException;


/** /**
* 通过申请单号查询申请状态
* 通过商户号查询结算帐号状态
* 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/applyment4sub/chapter3_4.shtml * 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/applyment4sub/chapter3_4.shtml
* 接口链接:https://api.mch.weixin.qq.com/v3/apply4sub/sub_merchants/{sub_mchid}/settlement * 接口链接:https://api.mch.weixin.qq.com/v3/apply4sub/sub_merchants/{sub_mchid}/settlement
* *


Loading…
取消
儲存