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
4d866568
Commit
4d866568
authored
May 27, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改导入事项与材料
parent
aa22de20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
portal-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DemoStartedService.java
...als/xhx/daemon/applicationservice/DemoStartedService.java
+9
-3
No files found.
portal-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DemoStartedService.java
View file @
4d866568
...
...
@@ -85,14 +85,19 @@ public class DemoStartedService implements IApplicationStartedService {
//启动短信发送响应更新线程
new
Thread
(()
->
{
int
waitTime
=
5000
;
ThreadPool
.
getInstance
().
execute
(()
->
{
int
waitTime
=
1000
;
while
(!
stopped
)
{
try
{
MessageTaskEntity
message
=
SmsQueueManager
.
pollRespQueue
();
if
(!
ObjectUtils
.
isEmpty
(
message
))
{
messageTaskService
.
update
(
message
,
null
);
}
try
{
Thread
.
sleep
(
waitTime
);
}
catch
(
InterruptedException
e2
)
{
}
}
catch
(
Exception
e
)
{
if
(!
stopped
)
{
try
{
...
...
@@ -102,7 +107,8 @@ public class DemoStartedService implements IApplicationStartedService {
}
}
}
}).
start
();
});
AlarmSendMsgThread
alarmSendMsgThread
=
new
AlarmSendMsgThread
(
smsSendUrl
,
apiId
);
ThreadPool
.
getInstance
().
execute
(
alarmSendMsgThread
);
...
...
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