Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
cbf7d2a3
Commit
cbf7d2a3
authored
Oct 14, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
36efafc2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
PlanTaskServiceImpl.java
...upervision/business/service/impl/PlanTaskServiceImpl.java
+5
-0
application-dev.properties
...stem-patrol/src/main/resources/application-dev.properties
+7
-8
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/service/impl/PlanTaskServiceImpl.java
View file @
cbf7d2a3
...
@@ -376,7 +376,12 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
...
@@ -376,7 +376,12 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
model
.
setMsgType
(
"patrolSystem"
);
model
.
setMsgType
(
"patrolSystem"
);
model
.
setIsRead
(
true
);
model
.
setIsRead
(
true
);
log
.
info
(
"修改待办任务参数-->{}"
,
JSON
.
toJSON
(
model
));
log
.
info
(
"修改待办任务参数-->{}"
,
JSON
.
toJSON
(
model
));
try
{
Systemctl
.
messageClient
.
update
(
model
);
Systemctl
.
messageClient
.
update
(
model
);
}
catch
(
Exception
e
){
log
.
info
(
"修改待办任务参数失败"
);
}
}
}
...
...
amos-boot-system-patrol/src/main/resources/application-dev.properties
View file @
cbf7d2a3
## eureka properties:
eureka.client.serviceUrl.defaultZone
=
http://172.16.10.211:10001/eureka/
eureka.client.serviceUrl.defaultZone
=
http://172.16.10.211:10001/eureka/
eureka.client.registry-fetch-interval-seconds
=
5
eureka.instance.prefer-ip-address
=
true
eureka.instance.health-check-url-path
=
/actuator/health
eureka.instance.lease-expiration-duration-in-seconds
=
10
eureka.instance.lease-renewal-interval-in-seconds
=
5
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url-path
=
/actuator/info
ribbon.eureka.enabled
=
true
ribbon.eureka.enabled
=
true
ribbon.ConnectTimeout
=
5000
ribbon.ConnectTimeout
=
5000
...
@@ -70,8 +71,6 @@ spring.redis.mode=cluster
...
@@ -70,8 +71,6 @@ spring.redis.mode=cluster
#redis 单机配置
#redis 单机配置
#spring.redis.host=172.16.11.20
#spring.redis.host=172.16.11.20
#spring.redis.port=6379
#spring.redis.port=6379
#集群配置
#集群配置
spring.redis.cluster.nodes
=
172.16.3.41:6381,172.16.3.41:6002
spring.redis.cluster.nodes
=
172.16.3.41:6381,172.16.3.41:6002
spring.redis.cluster.max-redirects
=
3
spring.redis.cluster.max-redirects
=
3
...
...
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