Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
huaxin-rq
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
耿迪迪
huaxin-rq
Commits
16be8bf6
Commit
16be8bf6
authored
Jan 08, 2026
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片上传地址修改
parent
22d885f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
CommonController.java
...va/com/zehong/web/controller/common/CommonController.java
+2
-2
application-prd.yml
huaxin-admin/src/main/resources/application-prd.yml
+3
-3
No files found.
huaxin-admin/src/main/java/com/zehong/web/controller/common/CommonController.java
View file @
16be8bf6
...
...
@@ -75,8 +75,8 @@ public class CommonController
String
filePath
=
ProjectNameConfig
.
getUploadPath
();
String
fileServer
=
serverConfig
.
getUrl
();
if
(
fileServer
.
contains
(
"
yhq
.zhkjgf.com"
)){
fileServer
=
serverConfig
.
getUrl
().
replace
(
"http://
yhq.zhkjgf.com"
,
"https://yhq.zhkjgf.com:8898
"
);
if
(
fileServer
.
contains
(
"
huaxin
.zhkjgf.com"
)){
fileServer
=
serverConfig
.
getUrl
().
replace
(
"http://
huaxin.zhkjgf.com"
,
"https://huaxin.zhkjgf.com
"
);
}
// 上传并返回新文件名称
String
fileName
=
FileUploadUtils
.
upload
(
filePath
,
file
);
...
...
huaxin-admin/src/main/resources/application-prd.yml
View file @
16be8bf6
...
...
@@ -6,9 +6,9 @@ spring:
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://
localhost:3306
/huaxin_ranqi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
jiankun123
url
:
jdbc:mysql://
36.139.135.138:30145
/huaxin_ranqi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
huaxin_ranqi
password
:
S4ANrhc5fBsCS7Ha
# 从库数据源
slave
:
# 从数据源开关/默认关闭
...
...
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