Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
18dee558
Commit
18dee558
authored
Oct 14, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_activity' into dev
parents
5c75f9dd
d9ca0f53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
SystemConfig.java
...ub/wxiaoqi/security/common/util/process/SystemConfig.java
+2
-1
systemconfig.properties
...mon/src/main/resources/properties/systemconfig.properties
+2
-0
UploadZipServiceImpl.java
...platform/universal/service/impl/UploadZipServiceImpl.java
+1
-1
No files found.
ace-common/src/main/java/com/github/wxiaoqi/security/common/util/process/SystemConfig.java
View file @
18dee558
...
@@ -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缓存时间
...
...
ace-common/src/main/resources/properties/systemconfig.properties
View file @
18dee558
#\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
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/service/impl/UploadZipServiceImpl.java
View file @
18dee558
...
@@ -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
+
","
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment