mitao
2024-12-24 ab96d801d6c5e2feea9677367c1b44c2e08b78ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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;
 
}