全局配置逻辑实现
This commit is contained in:
1 parent
da4af93a1e
commit
cf8220edbd
13 files changed
+361
-35
No files matched your search
@@ -0,0 +1,36 @@
|
||||
package com.ruoyi.system.domain.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 全局钱包配置首次创建请求。
|
||||
*
|
||||
* 配置密码仅用于本次请求中派生密钥,不会保存到数据库,也不会写入接口响应。
|
||||
*/
|
||||
public class UsdtConfigCreateRequest {
|
||||
private BigDecimal payUsdtNum;
|
||||
private BigDecimal receiveUsdtNum;
|
||||
private Integer tronNetType;
|
||||
private BigDecimal trxNum;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String configurationPassword;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String confirmPassword;
|
||||
|
||||
public BigDecimal getPayUsdtNum() { return payUsdtNum; }
|
||||
public void setPayUsdtNum(BigDecimal payUsdtNum) { this.payUsdtNum = payUsdtNum; }
|
||||
public BigDecimal getReceiveUsdtNum() { return receiveUsdtNum; }
|
||||
public void setReceiveUsdtNum(BigDecimal receiveUsdtNum) { this.receiveUsdtNum = receiveUsdtNum; }
|
||||
public Integer getTronNetType() { return tronNetType; }
|
||||
public void setTronNetType(Integer tronNetType) { this.tronNetType = tronNetType; }
|
||||
public BigDecimal getTrxNum() { return trxNum; }
|
||||
public void setTrxNum(BigDecimal trxNum) { this.trxNum = trxNum; }
|
||||
public String getConfigurationPassword() { return configurationPassword; }
|
||||
public void setConfigurationPassword(String configurationPassword) { this.configurationPassword = configurationPassword; }
|
||||
public String getConfirmPassword() { return confirmPassword; }
|
||||
public void setConfirmPassword(String confirmPassword) { this.confirmPassword = confirmPassword; }
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.ruoyi.system.domain.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/** 配置密码轮换请求。 */
|
||||
public class UsdtConfigRotateRequest {
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String oldPassword;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String newPassword;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String confirmPassword;
|
||||
|
||||
public String getOldPassword() { return oldPassword; }
|
||||
public void setOldPassword(String oldPassword) { this.oldPassword = oldPassword; }
|
||||
public String getNewPassword() { return newPassword; }
|
||||
public void setNewPassword(String newPassword) { this.newPassword = newPassword; }
|
||||
public String getConfirmPassword() { return confirmPassword; }
|
||||
public void setConfirmPassword(String confirmPassword) { this.confirmPassword = confirmPassword; }
|
||||
}
|
||||
Reference in new issue
Block a user