mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-07 13:10:44 +00:00
fix demo参数校验调整, 支付配置中包装类属性防止空指针处理
This commit is contained in:
@@ -23,7 +23,6 @@ public class CashierSimplePayParam {
|
||||
private String bizOrderNo;
|
||||
|
||||
@Schema(description = "是否分账")
|
||||
@NotNull(message = "分账是否启用必输")
|
||||
private Boolean allocation;
|
||||
|
||||
|
||||
|
@@ -59,6 +59,7 @@ public class AggregateService {
|
||||
.setTitle(param.getTitle())
|
||||
.setBizOrderNo(param.getBizOrderNo())
|
||||
.setAllocation(param.getAllocation())
|
||||
.setAutoAllocation(param.getAutoAllocation())
|
||||
.setAmount(amount);
|
||||
String code = IdUtil.getSnowflakeNextIdStr();
|
||||
String serverUrl = daxPayDemoProperties.getServerUrl();
|
||||
|
Reference in New Issue
Block a user