kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
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
46
47
48
49
50
51
52
53
54
55
56
57
58
package com.nanometer.smartlab.util;
 
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
 
@Service
public class EmailConfigService {
 
    @Value("${smtp.host}")
    String smtpHost;
    @Value("${smtp.user}")
    String smtpUser;
    @Value("${smtp.pwd}")
    String smtpPwd;
    @Value("${smtp.from}")
    String smtpFrom;
    @Value("${smtp.subject}")
    String smtpSubject;
    @Value("${smtp.content}")
    String smtpContent;
 
    @Value("${zkysmtp.user}")
    String zkySmtpUser;
    @Value("${zkysmtp.pwd}")
    String zkySmtpPwd;
 
    public String getSmtpSubject() {
        return smtpSubject;
    }
 
    public String getSmtpContent() {
        return smtpContent;
    }
 
    public String getSmtpFrom() {
        return smtpFrom;
    }
 
    public String getSmtpHost() {
        return smtpHost;
    }
 
    public String getSmtpUser() {
        return smtpUser;
    }
 
    public String getSmtpPwd() {
        return smtpPwd;
    }
 
    public String getZkySmtpUser() {
        return zkySmtpUser;
    }
 
    public String getZkySmtpPwd() {
        return zkySmtpPwd;
    }
}