123
This commit is contained in:
1 parent
0df6716cc3
commit
009955d560
25 files changed
+417
-63
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package com.ruoyi.system.domain.vo;
|
||||
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -27,6 +28,7 @@ public class TronAccountItem implements Serializable {
|
||||
* 私钥(Hex)
|
||||
* 示例:xxxx
|
||||
*/
|
||||
@JsonIgnore
|
||||
private String privateKey;
|
||||
|
||||
private String path;
|
||||
@@ -41,6 +43,7 @@ public class TronAccountItem implements Serializable {
|
||||
* Base58 私钥
|
||||
* 示例:xxx
|
||||
*/
|
||||
@JsonIgnore
|
||||
private String privateKeyBase58;
|
||||
|
||||
public TronAccountItem() {
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.ruoyi.system.domain.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/** 管理端钱包操作请求;私钥不允许从请求传入。 */
|
||||
public class WalletOperationRequest {
|
||||
private Long walletId;
|
||||
private String toAddress;
|
||||
private BigDecimal amount;
|
||||
private Integer resourceCode;
|
||||
private Boolean broadcast;
|
||||
|
||||
public Long getWalletId() { return walletId; }
|
||||
public void setWalletId(Long walletId) { this.walletId = walletId; }
|
||||
public String getToAddress() { return toAddress; }
|
||||
public void setToAddress(String toAddress) { this.toAddress = toAddress; }
|
||||
public BigDecimal getAmount() { return amount; }
|
||||
public void setAmount(BigDecimal amount) { this.amount = amount; }
|
||||
public Integer getResourceCode() { return resourceCode; }
|
||||
public void setResourceCode(Integer resourceCode) { this.resourceCode = resourceCode; }
|
||||
public Boolean getBroadcast() { return broadcast; }
|
||||
public void setBroadcast(Boolean broadcast) { this.broadcast = broadcast; }
|
||||
}
|
||||
Reference in new issue
Block a user