New file |
| | |
| | | package com.dg.core; |
| | | |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.context.annotation.PropertySource; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | /** |
| | | * 阿里云短信配置 |
| | | */ |
| | | @Component |
| | | @PropertySource(value = "classpath:application-sms.properties",encoding = "UTF-8") |
| | | public class AliyunConfig { |
| | | |
| | | @Value("${aliyun.key}") |
| | | private String key; |
| | | |
| | | @Value("${aliyun.screct}") |
| | | |
| | | private String screct; |
| | | @Value("${aliyun.SignName}") |
| | | private String SignName; |
| | | |
| | | @Value("${aliyun.TemplateCode}") |
| | | private String TemplateCode; |
| | | |
| | | @Value("${aliyun.TemplateCodeOvertime}") |
| | | private String TemplateCodeOvertime; |
| | | |
| | | @Value("${aliyun.TemplateCodeComplete}") |
| | | private String TemplateCodeComplete; |
| | | |
| | | |
| | | @Value("${aliyun.TemplateCodeSubmit}") |
| | | private String TemplateCodeSubmit; |
| | | |
| | | public String getTemplateCodeSubmit() { |
| | | return TemplateCodeSubmit; |
| | | } |
| | | |
| | | public void setTemplateCodeSubmit(String templateCodeSubmit) { |
| | | TemplateCodeSubmit = templateCodeSubmit; |
| | | } |
| | | |
| | | public String getKey() { |
| | | return key; |
| | | } |
| | | |
| | | public String getTemplateCodeComplete() { |
| | | return TemplateCodeComplete; |
| | | } |
| | | |
| | | public void setTemplateCodeComplete(String templateCodeComplete) { |
| | | TemplateCodeComplete = templateCodeComplete; |
| | | } |
| | | |
| | | public void setKey(String key) { |
| | | this.key = key; |
| | | } |
| | | |
| | | public String getTemplateCodeOvertime() { |
| | | return TemplateCodeOvertime; |
| | | } |
| | | |
| | | public void setTemplateCodeOvertime(String templateCodeOvertime) { |
| | | TemplateCodeOvertime = templateCodeOvertime; |
| | | } |
| | | |
| | | public String getScrect() { |
| | | return screct; |
| | | } |
| | | |
| | | public void setScrect(String screct) { |
| | | this.screct = screct; |
| | | } |
| | | |
| | | public String getSignName() { |
| | | return SignName; |
| | | } |
| | | |
| | | public void setSignName(String signName) { |
| | | SignName = signName; |
| | | } |
| | | |
| | | public String getTemplateCode() { |
| | | return TemplateCode; |
| | | } |
| | | |
| | | public void setTemplateCode(String templateCode) { |
| | | TemplateCode = templateCode; |
| | | } |
| | | } |