修改支付字段

This commit is contained in:
yangjun 2025-12-17 09:48:30 +08:00
parent ff17d75eab
commit b081a7d2be
2 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@ public class WeChatPayApi {
BigDecimal price = params.getPrice();//单价
Integer count = params.getCount();//数量
String unit = params.getUnit();//单位
String customerId = params.getCustomerId();//客户ID
String elderId = params.getElderId();//客户ID
String orderType = params.getOrderType();//订单类型
String orderDesc = params.getOrderDesc();//订单描述
String orgCode = params.getOrgCode();//机构编码
@ -116,7 +116,7 @@ public class WeChatPayApi {
systemOrderApiEntity.setRefundStatus(0);//退款状态 0=未退款1=退款中2=已退款3=退款失败
systemOrderApiEntity.setRefundTime(null);//退款时间
systemOrderApiEntity.setUpdatedTime(null);//更新时间 每次回调/更新都要记录
systemOrderApiEntity.setCustomerId(customerId);//客户ID必传
systemOrderApiEntity.setCustomerId(elderId);//客户ID必传
systemOrderApiEntity.setOrderType(orderType);//订单类型必传
systemOrderApiEntity.setReceiptTime(null);//回执时间
systemOrderApiEntity.setReceiptDescription(null);//回执描述

View File

@ -22,7 +22,7 @@ public class PayParamEntity {
// 客户ID
@NotBlank(message = "客户ID不能为空")
private String customerId;
private String elderId;
// 微信的openId
@NotBlank(message = "微信openId不能为空")