Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aserver
Project
Project
Details
Activity
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
15所TongWeb
aserver
Commits
ebf0b22b
Commit
ebf0b22b
authored
Dec 22, 2020
by
李德才
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改SN 配置文件位置为 resource 下
parent
f4f0c4a9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
SnService.java
src/main/java/com/archser/aserver/service/SnService.java
+2
-2
SN.properties
src/main/resources/SN.properties
+0
-0
SN.properties
src/main/webapp/SN.properties
+4
-0
No files found.
src/main/java/com/archser/aserver/service/SnService.java
View file @
ebf0b22b
package
com
.
archser
.
aserver
.
service
;
package
com
.
archser
.
aserver
.
service
;
import
com.archser.aserver.util.PropertyUtil
;
import
com.archser.aserver.util.PropertyUtil
;
import
com.jfinal.kit.PathKit
;
import
com.jfinal.kit.PathKit
;
import
com.jfinal.kit.PropKit
;
import
com.jfinal.kit.PropKit
;
...
@@ -16,8 +15,9 @@ public class SnService {
...
@@ -16,8 +15,9 @@ public class SnService {
private
static
String
FILE_PATH
;
private
static
String
FILE_PATH
;
private
static
final
String
PREFIX
=
"SN_"
;
private
static
final
String
PREFIX
=
"SN_"
;
static
{
static
{
FILE_PATH
=
PathKit
.
getWebRootPath
()
+
File
.
separator
+
"SN.properties"
;
FILE_PATH
=
PathKit
.
getWebRootPath
()
.
replace
(
"webapp"
,
"resources"
)
+
File
.
separator
+
"SN.properties"
;
}
}
...
...
src/main/resources/SN.properties
0 → 100644
View file @
ebf0b22b
src/main/webapp/SN.properties
View file @
ebf0b22b
#III
#Mon Dec 21 14:40:13 CST 2020
cfc84f0ff5395302517acc5ded7e7101f415cb953d535833296b292fa0f9c5ae
=
cdcdcdcdcdcdc,cdcdcdcd
\ No newline at end of file
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