Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
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
徐少华
midjourney-proxy
Commits
c64bc645
Commit
c64bc645
authored
Aug 29, 2019
by
阮思源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉延时
parent
593ede4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
8 deletions
+1
-8
PushBizImpl.java
.../main/java/com/pcloud/book/push/biz/impl/PushBizImpl.java
+1
-8
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/push/biz/impl/PushBizImpl.java
View file @
c64bc645
...
...
@@ -299,14 +299,7 @@ public class PushBizImpl implements PushBiz {
String
altId
=
wechatGroupConsr
.
getRobotIdByGroupId
(
groupQrcode
.
getWeixinGroupId
());
//遍历发送消息
for
(
PushItem
pushItem
:
pushItemList
)
{
try
{
LOGGER
.
info
(
"发送一个群里的一个消息开始pushGroup="
+
pushGroup
.
toString
()
+
"pushItem="
+
pushItem
.
toString
()
+
"altId="
+
altId
);
sendWechatMessage
(
pushGroup
,
pushItem
,
pushGroupRecord
.
getId
(),
altId
);
LOGGER
.
info
(
"发送一个群里的一个消息结束,休眠100毫秒pushGroup="
+
pushGroup
.
toString
()
+
"pushItem="
+
pushItem
.
toString
()
+
"altId="
+
altId
);
Thread
.
sleep
(
100
);
}
catch
(
InterruptedException
e
)
{
LOGGER
.
error
(
"发消息休眠100毫秒出错"
,
e
);
}
sendWechatMessage
(
pushGroup
,
pushItem
,
pushGroupRecord
.
getId
(),
altId
);
}
}
}
...
...
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