微调
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
package com.njcn.user.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.annotation.Order;
|
||||
|
||||
/**
|
||||
* 类的介绍:短信配置获取实体
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2023/8/25 15:19
|
||||
*/
|
||||
@Data
|
||||
@Configuration
|
||||
@Order(10)
|
||||
public class Message {
|
||||
|
||||
/**
|
||||
* accessKeyId
|
||||
*/
|
||||
@Value("${message.access-key}")
|
||||
private String accessKeyId;
|
||||
|
||||
/**
|
||||
* accessKeySecret
|
||||
*/
|
||||
@Value("${message.secret-key}")
|
||||
private String accessKeySecret;
|
||||
|
||||
/**
|
||||
* 短信签名
|
||||
*/
|
||||
@Value("${message.auto-graph}")
|
||||
private String autoGraph;
|
||||
|
||||
/**
|
||||
* 连接时间参数
|
||||
*/
|
||||
@Value("${message.connect-time}")
|
||||
private String time;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user