| 1234567891011121314151617181920212223242526272829 |
- package com.izouma.nineth.config;
- import lombok.Data;
- import org.springframework.boot.context.properties.ConfigurationProperties;
- import org.springframework.stereotype.Component;
- @Data
- @ConfigurationProperties(prefix="request-cipher")
- public class RequestCipherProperties {
- /**
- * 私钥
- */
- private String privateKey;
- /**
- * 公钥
- *
- */
- private String publicKey;
- /**
- * 私钥加密时的密码
- */
- private String privateKeyPwd;
- }
|