Skip to content

Commit bcb50ac

Browse files
linyaqiangBinary Wang
authored andcommitted
🎨 优化WxPayPartnerOrderQueryV3Result类中Payer字段
1 parent 6852617 commit bcb50ac

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/result/WxPayPartnerOrderQueryV3Result.java

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,17 +243,32 @@ public static class Payer implements Serializable {
243243
private static final long serialVersionUID = 1L;
244244
/**
245245
* <pre>
246-
* 字段名:用户标识
247-
* 变量名:openid
246+
* 字段名:用户服务标识
247+
* 变量名:sp_openid
248248
* 是否必填:是
249249
* 类型:string[1,128]
250250
* 描述:
251-
* 用户在直连商户appid下的唯一标识
251+
* 用户在服务商appid下的唯一标识
252252
* 示例值:oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
253253
* </pre>
254254
*/
255-
@SerializedName(value = "openid")
256-
private String openid;
255+
@SerializedName(value = "sp_openid")
256+
private String spOpenid;
257+
258+
/**
259+
* <pre>
260+
* 字段名:用户子标识
261+
* 变量名:sub_openid
262+
* 是否必填:是
263+
* 类型:string[1,128]
264+
* 描述:
265+
* 用户在子商户appid下的唯一标识。如果返回sub_appid,那么sub_openid一定会返回。
266+
* 示例值:oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
267+
* </pre>
268+
*/
269+
@SerializedName(value = "sub_openid")
270+
private String subOpenid;
271+
257272
}
258273

259274
@Data

0 commit comments

Comments
 (0)