From 5f3cf501f9f6c216df17ee8af6618b55b537d21a Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期五, 21 十月 2022 16:57:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into local_20221014

---
 flower_city/src/main/java/com/dg/core/AliyunConfig.java |   91 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 91 insertions(+), 0 deletions(-)

diff --git a/flower_city/src/main/java/com/dg/core/AliyunConfig.java b/flower_city/src/main/java/com/dg/core/AliyunConfig.java
new file mode 100644
index 0000000..68e3a1f
--- /dev/null
+++ b/flower_city/src/main/java/com/dg/core/AliyunConfig.java
@@ -0,0 +1,91 @@
+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;
+    }
+}
\ No newline at end of file

--
Gitblit v1.7.1