guq 7 лет назад
Родитель
Сommit
892c1bcf16

+ 35 - 0
applications/school/school-server/src/main/java/com/usoftchina/smartschool/school/wxschool/config/DomainConfig.java

@@ -0,0 +1,35 @@
+package com.usoftchina.smartschool.school.wxschool.config;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * @author: guq
+ * @create: 2019-02-27 17:19
+ **/
+@ConfigurationProperties("smartschool.domin")
+public class DomainConfig {
+
+    private String wechatUrl;
+
+
+    private String apiUrl;
+
+    private String pcUrl;
+
+
+    public String getWechatUrl() {
+        return wechatUrl;
+    }
+
+    public void setWechatUrl(String wechatUrl) {
+        this.wechatUrl = wechatUrl;
+    }
+
+    public String getApiUrl() {
+        return apiUrl;
+    }
+
+    public void setApiUrl(String apiUrl) {
+        this.apiUrl = apiUrl;
+    }
+}