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
53ea3bbf
Commit
53ea3bbf
authored
Jan 10, 2021
by
胡文斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
6f98f823
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MainConfig.java
...in/java/com/archser/aserver/common/config/MainConfig.java
+1
-1
No files found.
src/main/java/com/archser/aserver/common/config/MainConfig.java
View file @
53ea3bbf
...
@@ -105,7 +105,7 @@ public class MainConfig extends JFinalConfig {
...
@@ -105,7 +105,7 @@ public class MainConfig extends JFinalConfig {
// 先加载开发环境配置,再追加生产环境的少量配置覆盖掉开发环境配置
// 先加载开发环境配置,再追加生产环境的少量配置覆盖掉开发环境配置
public
static
void
loadConfig
()
{
public
static
void
loadConfig
()
{
if
(
p
==
null
)
{
if
(
p
==
null
)
{
p
=
PropKit
.
use
(
"
config.properties"
).
appendIfExists
(
"c
onfig-pro.properties"
);
p
=
PropKit
.
use
(
"
AppConfig.properties"
).
appendIfExists
(
"AppC
onfig-pro.properties"
);
// p = PropKit.use("config.properties");
// p = PropKit.use("config.properties");
}
}
}
}
...
...
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