|
@@ -1,4 +1,4 @@
|
|
|
-package com.c3.wxdks.configer;
|
|
|
+package com.c3.zfjyjgfwpt.configer;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -6,7 +6,7 @@ import org.springframework.stereotype.Component;
|
|
|
/**
|
|
|
*
|
|
|
* @Title: PathConfig.java
|
|
|
- * @Package com.c3.wxdks.configer
|
|
|
+ * @Package com.c3.zfjyjgfwpt.configer
|
|
|
* @Description: 上传文件和网站静态化相关配置
|
|
|
* @author: leihy
|
|
|
* @date: 2020年11月13日 上午10:00:09
|
|
@@ -66,13 +66,7 @@ public class PathConfig {
|
|
|
public static String kindeditorDecodingMedia = null;
|
|
|
public static String kindeditorDecodingFile = null;
|
|
|
public static String kindeditorDecodingWordFile = null;
|
|
|
- // apply
|
|
|
- public static String applyRootPath = null;
|
|
|
- //文件保存目录URL
|
|
|
- public static String applyRootUrl = null;
|
|
|
- //文件保存静态目录
|
|
|
- public static String applyRootStaticPath = null;
|
|
|
- public static String applyDecodingImage = null;
|
|
|
+
|
|
|
|
|
|
public String getWebsiteLetterpath() {
|
|
|
return websiteLetterpath;
|
|
@@ -235,59 +229,5 @@ public class PathConfig {
|
|
|
public void setKindeditorDecodingWordFile(String kindeditorDecodingWordFile) {
|
|
|
PathConfig.kindeditorDecodingWordFile = kindeditorDecodingWordFile;
|
|
|
}
|
|
|
- /**
|
|
|
- * @return the applyRootPath
|
|
|
- */
|
|
|
- public String getApplyRootPath() {
|
|
|
- return applyRootPath;
|
|
|
- }
|
|
|
- /**
|
|
|
- * @param applyRootPath the applyRootPath to set
|
|
|
- */
|
|
|
- @Value("${path.apply.rootPath}")
|
|
|
- public void setApplyRootPath(String applyRootPath) {
|
|
|
- PathConfig.applyRootPath = applyRootPath;
|
|
|
- }
|
|
|
- /**
|
|
|
- * @return the applyRootUrl
|
|
|
- */
|
|
|
- public String getApplyRootUrl() {
|
|
|
- return applyRootUrl;
|
|
|
- }
|
|
|
- /**
|
|
|
- * @param applyRootUrl the applyRootUrl to set
|
|
|
- */
|
|
|
- @Value("${path.apply.rootUrl}")
|
|
|
- public void setApplyRootUrl(String applyRootUrl) {
|
|
|
- PathConfig.applyRootUrl = applyRootUrl;
|
|
|
- }
|
|
|
- /**
|
|
|
- * @return the applyRootStaticPath
|
|
|
- */
|
|
|
- public String getApplyRootStaticPath() {
|
|
|
- return applyRootStaticPath;
|
|
|
- }
|
|
|
- /**
|
|
|
- * @param applyRootStaticPath the applyRootStaticPath to set
|
|
|
- */
|
|
|
- @Value("${path.apply.rootStaticPath}")
|
|
|
- public void setApplyRootStaticPath(String applyRootStaticPath) {
|
|
|
- PathConfig.applyRootStaticPath = applyRootStaticPath;
|
|
|
- }
|
|
|
- /**
|
|
|
- * @return the applyDecodingImage
|
|
|
- */
|
|
|
- public String getApplyDecodingImage() {
|
|
|
- return applyDecodingImage;
|
|
|
- }
|
|
|
- /**
|
|
|
- * @param applyDecodingImage the applyDecodingImage to set
|
|
|
- */
|
|
|
- @Value("${path.apply.decoding.image}")
|
|
|
- public void setApplyDecodingImage(String applyDecodingImage) {
|
|
|
- PathConfig.applyDecodingImage = applyDecodingImage;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
|
|
|
}
|