添加子账号逻辑

This commit is contained in:
lu7213 committed 2026-10-10 05:22:05 -04:00
1 parent 35c7bcc8aa
commit 658e6ccf1e
8 files changed
+196 -2

No files matched your search

@@ -0,0 +1,16 @@
package com.ruoyi.system.domain.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
/** 增加全局子账号请求。 */
public class UsdtConfigAddWalletsRequest {
private Integer count;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String configurationPassword;
public Integer getCount() { return count; }
public void setCount(Integer count) { this.count = count; }
public String getConfigurationPassword() { return configurationPassword; }
public void setConfigurationPassword(String configurationPassword) { this.configurationPassword = configurationPassword; }
}
@@ -14,6 +14,8 @@ public class UsdtConfigCreateRequest {
private BigDecimal receiveUsdtNum;
private Integer tronNetType;
private BigDecimal trxNum;
/** 初始化时生成的子账号数量,不包含索引 0 主钱包。 */
private Integer childAccountCount;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String configurationPassword;
@@ -29,6 +31,8 @@ public class UsdtConfigCreateRequest {
public void setTronNetType(Integer tronNetType) { this.tronNetType = tronNetType; }
public BigDecimal getTrxNum() { return trxNum; }
public void setTrxNum(BigDecimal trxNum) { this.trxNum = trxNum; }
public Integer getChildAccountCount() { return childAccountCount; }
public void setChildAccountCount(Integer childAccountCount) { this.childAccountCount = childAccountCount; }
public String getConfigurationPassword() { return configurationPassword; }
public void setConfigurationPassword(String configurationPassword) { this.configurationPassword = configurationPassword; }
public String getConfirmPassword() { return confirmPassword; }