package com.sinata.system.config;
|
|
import lombok.Data;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
@Component
|
@ConfigurationProperties(prefix = "sms")
|
@Data
|
public class AliSmsConfig {
|
|
private String accessKeyId;
|
|
private String accessKeySecret;
|
|
/**
|
* 签名
|
*/
|
private String signName;
|
|
/**
|
* 登录模板编码
|
*/
|
private String loginTemplateCode;
|
/**
|
* 入驻审核通知模板编码
|
*/
|
private String auditTemplateCode;
|
|
/**
|
* 连接超时ms
|
*/
|
private String connectTimeout = "30000";
|
|
/**
|
* 读超时ms
|
*/
|
private String readTimeout = "30000";
|
|
/**
|
* 调试状态
|
*/
|
private boolean debug = false;
|
|
}
|