package com.xcong.excoin.modules.newPrice; import lombok.Getter; @Getter public enum ExchangeInfoEnum { /** * 模拟盘 * String apiKey = "16c882b0-2853-46c5-8af0-5269e3218d72"; * String passphrase = "Zh12345@@"; * String secretKey = "A13F7BC5721DB6D1F492B0FC333D4D9C"; */ OKX_UAT("0769b50c-2c36-4310-8bd9-cad6bc6c9d8f", "7AF4A574BC44907CE76BBFF91F53852D", "Aa123456@", false); private final String apiKey; private final String secretKey; private final String passphrase; // @Setting(label = "账户类型", order = 40, type = FieldType.SELECT, options = {"实盘账户", "模拟账户"}, optionsVal = {"true", "false"}) private final boolean accountType; ExchangeInfoEnum(String apiKey, String secretKey, String passphrase, boolean accountType) { this.apiKey = apiKey; this.secretKey = secretKey; this.passphrase = passphrase; this.accountType = accountType; } }