|
|
@@ -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;
|
|
|
+ }
|
|
|
+}
|