From 219677b14108b0a4f2fe8ee324e396df98cd5454 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 03:38:58 +0000 Subject: [PATCH 1/2] Initial plan From bbfc9c4900c8bbc24d8354c42c10d11a592d5cb7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 03:43:02 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=BAPreOrderWithAuthRequest=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0authenticateType=E6=A0=B8=E8=BA=AB=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com> --- .../payroll/PreOrderWithAuthRequest.java | 18 ++++++++++++++++++ .../service/impl/PayrollServiceImplTest.java | 1 + 2 files changed, 19 insertions(+) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/payroll/PreOrderWithAuthRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/payroll/PreOrderWithAuthRequest.java index 1556fbc343..0e20fc8fa6 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/payroll/PreOrderWithAuthRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/payroll/PreOrderWithAuthRequest.java @@ -166,4 +166,22 @@ public class PreOrderWithAuthRequest implements Serializable { */ @SerializedName(value = "employment_type") private String employmentType; + + /** + *
+   * 字段名:核身类型
+   * 变量名:authenticate_type
+   * 是否必填:否
+   * 类型:string[1,32]
+   * 描述:
+   *  核身类型,用于标识本次核身的业务类型;枚举值:
+   * NORMAL_AUTHENTICATE:普通核身
+   * LOGIN_AUTHENTICATE:登录核身
+   * INSURANCE_AUTHENTICATE:保险核身
+   * CONTRACT_AUTHENTICATE:合同核身
+   * 示例值:NORMAL_AUTHENTICATE
+   * 
+ */ + @SerializedName(value = "authenticate_type") + private String authenticateType; } diff --git a/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/PayrollServiceImplTest.java b/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/PayrollServiceImplTest.java index 03bbc8c593..543290b9d3 100644 --- a/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/PayrollServiceImplTest.java +++ b/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/PayrollServiceImplTest.java @@ -112,6 +112,7 @@ public void payrollCardPreOrderWithAuth() throws WxPayException { request.setIdCardNumber("7FzH5XksJG3a8HLLsaaUV6K54y1OnPMY5"); request.setProjectName("某项目"); request.setUserName("LP7bT4hQXUsOZCEvK2YrSiqFsnP0oRMfeoLN0vBg"); + request.setAuthenticateType("NORMAL_AUTHENTICATE"); PreOrderWithAuthResult preOrderWithAuthResult = wxPayService.getPayrollService().payrollCardPreOrderWithAuth(request); log.info(preOrderWithAuthResult.toString());