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
3d8735a8
Commit
3d8735a8
authored
Nov 26, 2025
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
c30dd66d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
startup.sh
huaxin-admin/src/main/bin/startup.sh
+2
-2
stop.sh
huaxin-admin/src/main/bin/stop.sh
+1
-1
application-test.yml
huaxin-admin/src/main/resources/application-test.yml
+2
-2
application.yml
huaxin-admin/src/main/resources/application.yml
+2
-2
index.vue
huaxin-web/src/views/indexcomponents/3dmap/index.vue
+2
-2
vue.config.js
huaxin-web/vue.config.js
+2
-2
No files found.
huaxin-admin/src/main/bin/startup.sh
View file @
3d8735a8
...
@@ -5,7 +5,7 @@ DEPLOY_DIR=`pwd`
...
@@ -5,7 +5,7 @@ DEPLOY_DIR=`pwd`
CONF_DIR
=
$DEPLOY_DIR
/conf
CONF_DIR
=
$DEPLOY_DIR
/conf
LOGS_DIR
=
$DEPLOY_DIR
/logs
LOGS_DIR
=
$DEPLOY_DIR
/logs
#部署需修改
#部署需修改
APP_MAINCLASS
=
com.zehong.
ProjectName
Application
APP_MAINCLASS
=
com.zehong.
HuaXin
Application
PIDS
=
`
ps
-ef
|
grep
-v
grep
|
grep
"
$CONF_DIR
"
|awk
'{print $2}'
`
PIDS
=
`
ps
-ef
|
grep
-v
grep
|
grep
"
$CONF_DIR
"
|awk
'{print $2}'
`
if
[
-n
"
$PIDS
"
]
;
then
if
[
-n
"
$PIDS
"
]
;
then
...
@@ -38,7 +38,7 @@ fi
...
@@ -38,7 +38,7 @@ fi
JAVA_MEM_OPTS
=
"-server -Xms2048M -Xmx2048M -Xmn1024M"
JAVA_MEM_OPTS
=
"-server -Xms2048M -Xmx2048M -Xmn1024M"
#JAVA_MEM_OPTS="-server -Xms5120M -Xmx5120M -Xmn1024M -Xnoclassgc -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+PrintClassHistogram -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xloggc:$CLOG_FILE"
#JAVA_MEM_OPTS="-server -Xms5120M -Xmx5120M -Xmn1024M -Xnoclassgc -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+PrintClassHistogram -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xloggc:$CLOG_FILE"
echo
-e
"Starting the
Communicatio
nApplication ...
\c
"
echo
-e
"Starting the
HuaXi
nApplication ...
\c
"
export
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:
$DEPLOY_DIR
/libs/linux_64
export
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:
$DEPLOY_DIR
/libs/linux_64
nohup
java
-Dlog
.path
=
$LOGS_DIR
-Dapp
.home
=
$DEPLOY_DIR
$JAVA_OPTS
$JAVA_MEM_OPTS
$JAVA_DEBUG_OPTS
$JAVA_JMX_OPTS
-classpath
$CONF_DIR
:
$LIB_JARS
$APP_MAINCLASS
&
nohup
java
-Dlog
.path
=
$LOGS_DIR
-Dapp
.home
=
$DEPLOY_DIR
$JAVA_OPTS
$JAVA_MEM_OPTS
$JAVA_DEBUG_OPTS
$JAVA_JMX_OPTS
-classpath
$CONF_DIR
:
$LIB_JARS
$APP_MAINCLASS
&
...
...
huaxin-admin/src/main/bin/stop.sh
View file @
3d8735a8
...
@@ -16,7 +16,7 @@ if [ -z "$PID" ]; then
...
@@ -16,7 +16,7 @@ if [ -z "$PID" ]; then
exit
1
exit
1
fi
fi
echo
-e
"Stopping the Application ...
\c
"
echo
-e
"Stopping the
HuaXin
Application ...
\c
"
kill
$PID
>
$STDOUT_FILE
2>&1
kill
$PID
>
$STDOUT_FILE
2>&1
COUNT
=
0
COUNT
=
0
...
...
huaxin-admin/src/main/resources/application-test.yml
View file @
3d8735a8
...
@@ -7,8 +7,8 @@ spring:
...
@@ -7,8 +7,8 @@ spring:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://36.138.180.82:3309/huaxin_ranqi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://36.138.180.82:3309/huaxin_ranqi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
HuaX
in_ranqi
username
:
huax
in_ranqi
password
:
7ifSJNRLPDxDNSiD
password
:
LwT2HKfP4JmM23LL
# 从库数据源
# 从库数据源
slave
:
slave
:
# 从数据源开关/默认关闭
# 从数据源开关/默认关闭
...
...
huaxin-admin/src/main/resources/application.yml
View file @
3d8735a8
# 开发环境配置
# 开发环境配置
server
:
server
:
# 服务器的HTTP端口,默认为8080
# 服务器的HTTP端口,默认为8080
port
:
8
080
port
:
8
909
servlet
:
servlet
:
# 应用的访问路径
# 应用的访问路径
context-path
:
/
context-path
:
/
huaxin
tomcat
:
tomcat
:
# tomcat的URI编码
# tomcat的URI编码
uri-encoding
:
UTF-8
uri-encoding
:
UTF-8
...
...
huaxin-web/src/views/indexcomponents/3dmap/index.vue
View file @
3d8735a8
...
@@ -324,7 +324,7 @@ export default {
...
@@ -324,7 +324,7 @@ export default {
//加气站
//加气站
[
[
{
{
url
:
"../3dtiles/
HuaXin
RanQi002/tileset.json"
,
//路径
url
:
"../3dtiles/
TianHua
RanQi002/tileset.json"
,
//路径
startMapType
:
"gps"
,
//初始坐标系
startMapType
:
"gps"
,
//初始坐标系
toMapType
:
""
,
//要转换坐标系
toMapType
:
""
,
//要转换坐标系
...
@@ -338,7 +338,7 @@ export default {
...
@@ -338,7 +338,7 @@ export default {
},*/
},*/
},
},
{
{
url
:
"../3dtiles/
HuaXin
RanQi001/tileset.json"
,
//路径
url
:
"../3dtiles/
TianHua
RanQi001/tileset.json"
,
//路径
startMapType
:
"gps"
,
//初始坐标系
startMapType
:
"gps"
,
//初始坐标系
toMapType
:
""
,
//要转换坐标系
toMapType
:
""
,
//要转换坐标系
...
...
huaxin-web/vue.config.js
View file @
3d8735a8
...
@@ -34,8 +34,8 @@ module.exports = {
...
@@ -34,8 +34,8 @@ module.exports = {
proxy
:
{
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://192.168.2.17:8080
`,
target
:
`http://localhost:8909/huaxin
`
,
target
:
`https://yhq.zhkjgf.com:8898`
,
//
target: `https://yhq.zhkjgf.com:8898`,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
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