Commit 18dee558 authored by hanfeng's avatar hanfeng

Merge branch 'master_activity' into dev

parents 5c75f9dd d9ca0f53
...@@ -9,7 +9,8 @@ public class SystemConfig { ...@@ -9,7 +9,8 @@ public class SystemConfig {
public static final String XXMP_URL = SystemProperty.getConfig("XXMP_URL"); public static final String XXMP_URL = SystemProperty.getConfig("XXMP_URL");
// 视频url // 视频url
public static final String VIDEO_URL = SystemProperty.getConfig("VIDEO_URL"); public static final String VIDEO_URL = SystemProperty.getConfig("VIDEO_URL");
// token到期时间 public static final String RENOVATE =SystemProperty.getConfig("RENOVATE") ;
// token到期时间
// token到期时间 // token到期时间
public static Integer TOKENOVERTIME = Integer.valueOf(SystemProperty.getConfig("TOKEN_OVER_TIME")); public static Integer TOKENOVERTIME = Integer.valueOf(SystemProperty.getConfig("TOKEN_OVER_TIME"));
// redis缓存时间 // redis缓存时间
......
#\u9879\u76EEurl #\u9879\u76EEurl
XXMP_URL=/image XXMP_URL=/image
#\u538B\u7F29\u5305\u89E3\u538B\u540E\u4FDD\u5B58\u7684\u8DEF\u5F84
RENOVATE=/renovate
#\u89C6\u9891\u4FDD\u5B58\u6587\u4EF6 #\u89C6\u9891\u4FDD\u5B58\u6587\u4EF6
VIDEO_URL=/video VIDEO_URL=/video
#token\u5230\u671F\u65F6\u95F4 #token\u5230\u671F\u65F6\u95F4
......
...@@ -91,7 +91,7 @@ public class UploadZipServiceImpl implements UploadZipService { ...@@ -91,7 +91,7 @@ public class UploadZipServiceImpl implements UploadZipService {
String realFileRelPath = dirPathToday + File.separator + no +format; String realFileRelPath = dirPathToday + File.separator + no +format;
File targetFile = new File(uploadPath+File.separator+realFileRelPath); File targetFile = new File(uploadPath+File.separator+realFileRelPath);
FileUtils.copyInputStreamToFile(zipFile.getInputStream(entry),targetFile); FileUtils.copyInputStreamToFile(zipFile.getInputStream(entry),targetFile);
realFileRelPath=xx_url+ SystemConfig.XXMP_URL+File.separator+realFileRelPath; realFileRelPath=xx_url+ SystemConfig.RENOVATE+File.separator+realFileRelPath;
result.append(realFileRelPath+","); result.append(realFileRelPath+",");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment