package com.ydtech.config.properties; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * @author CXP * @version 0.0.2 * @description 华泰API对接参数 * @date 2023/4/20 18:01 */ @Data @Component @ConfigurationProperties(prefix = "huatai.api") public class HuaTaiApiConfigurationProperties { //华泰请求API地址 private String baseUrl; //我司提供RSA公钥 private String selfPublicKey; //我司自用RSA私钥 private String selfPrivateKey; // 华泰RSA公钥 private String huaTaiPublicKey; //系统来源代码,由华泰分配 private String sourceCode; // 华泰key private String huaTaiKey; // 我司key private String key; // 获取 voken url private String tokenUrl; }