Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
1ef64411
Commit
1ef64411
authored
Dec 14, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
41119f2b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
9 deletions
+23
-9
base-manager/pom.xml
base-manager/pom.xml
+5
-0
base-manager/src/main/bin/deploy.sh
base-manager/src/main/bin/deploy.sh
+9
-3
base-manager/src/main/java/com/mortals/xhx/common/utils/MatterDetailHtmlParseUtil.java
...m/mortals/xhx/common/utils/MatterDetailHtmlParseUtil.java
+2
-1
portal-manager/src/main/bin/deploy.sh
portal-manager/src/main/bin/deploy.sh
+7
-5
No files found.
base-manager/pom.xml
View file @
1ef64411
...
@@ -26,6 +26,11 @@
...
@@ -26,6 +26,11 @@
<properties>
<properties>
<profiles.active>
develop
</profiles.active>
<profiles.active>
develop
</profiles.active>
<profiles.server.port>
17211
</profiles.server.port>
<profiles.server.port>
17211
</profiles.server.port>
<profiles.rabbitmq.host>
127.0.0.1
</profiles.rabbitmq.host>
<profiles.rabbitmq.port>
5672
</profiles.rabbitmq.port>
<profiles.rabbitmq.username>
guest
</profiles.rabbitmq.username>
<profiles.rabbitmq.password>
guest
</profiles.rabbitmq.password>
<profiles.rabbitmq.virtualhost>
/
</profiles.rabbitmq.virtualhost>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.publish.path>
/home/publish
</profiles.publish.path>
<profiles.nacos.server-addr>
127.0.0.1:8848
</profiles.nacos.server-addr>
<profiles.nacos.server-addr>
127.0.0.1:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
...
...
base-manager/src/main/bin/deploy.sh
View file @
1ef64411
...
@@ -35,15 +35,17 @@ clear_deploy() {
...
@@ -35,15 +35,17 @@ clear_deploy() {
SERVICE
=
$1
SERVICE
=
$1
EXECPATH
=
$2
EXECPATH
=
$2
#清理后台自启服务
#清理后台自启服务
rm
-
r
f
${
SERVICE
}
rm
-f
${
SERVICE
}
#清理执行文件目录
#清理执行文件目录
rm
-rf
${
EXECPATH
}
mv
${
EXECPATH
}
backup/
${
EXECPATH
}
#rm -rf ${EXECPATH}
}
}
#清理ui
#清理ui
clear_ui_deploy
()
{
clear_ui_deploy
()
{
EXEC_UI_PATH
=
$1
EXEC_UI_PATH
=
$1
rm
-rf
${
EXEC_UI_PATH
}
#rm -rf ${EXEC_UI_PATH}
mv
${
EXEC_UI_PATH
}
backup/
${
EXEC_UI_PATH
}
mkdir
-p
${
EXEC_UI_PATH
}
mkdir
-p
${
EXEC_UI_PATH
}
}
}
...
@@ -100,6 +102,10 @@ project_ui_deploy() {
...
@@ -100,6 +102,10 @@ project_ui_deploy() {
#主函数
#主函数
main
()
{
main
()
{
if
[
!
-d
$PUBLISH_PATH
/backup
]
;
then
mkdir
-p
$LOG_PATH
/backup
;
fi
echo
"后台服务部署"
echo
"后台服务部署"
project_deploy
project_deploy
echo
"前端服务部署"
echo
"前端服务部署"
...
...
base-manager/src/main/java/com/mortals/xhx/common/utils/MatterDetailHtmlParseUtil.java
View file @
1ef64411
...
@@ -504,7 +504,8 @@ public class MatterDetailHtmlParseUtil {
...
@@ -504,7 +504,8 @@ public class MatterDetailHtmlParseUtil {
//String url = "http://www.sczwfw.gov.cn/jiq/front/transition/ywTransToDetail?areaCode=513426000000&itemCode=511F3000300009-513426000000-000-11513426MB1541028A-1-00&taskType=7&deptCode=009075316";
//String url = "http://www.sczwfw.gov.cn/jiq/front/transition/ywTransToDetail?areaCode=513426000000&itemCode=511F3000300009-513426000000-000-11513426MB1541028A-1-00&taskType=7&deptCode=009075316";
// String url = "http://www.sczwfw.gov.cn/jiq/front/transition/ywTransToDetail?areaCode=511500000000&itemCode=511A0151400000-511500000000-000-511501-7-1-00&taskType=1&deptCode=511501-7";
// String url = "http://www.sczwfw.gov.cn/jiq/front/transition/ywTransToDetail?areaCode=511500000000&itemCode=511A0151400000-511500000000-000-511501-7-1-00&taskType=1&deptCode=511501-7";
String
url
=
"http://www.sczwfw.gov.cn/jiq/front/transition/ywTransToDetail?areaCode=511500000000&itemCode=511A0000400004-511500000000-000-1151120000870212XU-1-00&taskType=1&deptCode=3922757070285361152"
;
// String url = "http://www.sczwfw.gov.cn/jiq/front/transition/ywTransToDetail?areaCode=511500000000&itemCode=511A0000400004-511500000000-000-1151120000870212XU-1-00&taskType=1&deptCode=3922757070285361152";
String
url
=
"https://www.sczwfw.gov.cn/jiq/front/transition/ywTransToDetail?areaCode=511500000000&itemCode=512036008003-511500000000-000-11511200MB1503849K-1-00&taskType=20&deptCode=3907787168696946688"
;
Document
dom
=
MatterDetailHtmlParseUtil
.
getDomByHtml
(
url
);
Document
dom
=
MatterDetailHtmlParseUtil
.
getDomByHtml
(
url
);
Map
<
String
,
String
>
baseInfoMap
=
MatterDetailHtmlParseUtil
.
getbaseInfoMapByHtml
(
dom
);
Map
<
String
,
String
>
baseInfoMap
=
MatterDetailHtmlParseUtil
.
getbaseInfoMapByHtml
(
dom
);
...
...
portal-manager/src/main/bin/deploy.sh
View file @
1ef64411
...
@@ -35,15 +35,17 @@ clear_deploy() {
...
@@ -35,15 +35,17 @@ clear_deploy() {
SERVICE
=
$1
SERVICE
=
$1
EXECPATH
=
$2
EXECPATH
=
$2
#清理后台自启服务
#清理后台自启服务
rm
-
r
f
${
SERVICE
}
rm
-f
${
SERVICE
}
#清理执行文件目录
#清理执行文件目录
rm
-rf
${
EXECPATH
}
mv
${
EXECPATH
}
${
EXECPATH
}
-bak
#rm -rf ${EXECPATH}
}
}
#清理ui
#清理ui
clear_ui_deploy
()
{
clear_ui_deploy
()
{
EXEC_UI_PATH
=
$1
EXEC_UI_PATH
=
$1
rm
-rf
${
EXEC_UI_PATH
}
#rm -rf ${EXEC_UI_PATH}
mv
${
EXEC_UI_PATH
}
${
EXEC_UI_PATH
}
-bak
mkdir
-p
${
EXEC_UI_PATH
}
mkdir
-p
${
EXEC_UI_PATH
}
}
}
...
@@ -102,8 +104,8 @@ project_ui_deploy() {
...
@@ -102,8 +104,8 @@ project_ui_deploy() {
main
()
{
main
()
{
echo
"后台服务部署"
echo
"后台服务部署"
project_deploy
project_deploy
#
echo "前端服务部署"
echo
"前端服务部署"
#
project_ui_deploy
project_ui_deploy
exit
${
RETVAL
}
exit
${
RETVAL
}
}
}
...
...
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