Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
0a784795
Commit
0a784795
authored
Mar 25, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购刷新好友超时时间
parent
134f4a30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
FriendClerkSyncNewOperation.java
...nage/service/task/friend/FriendClerkSyncNewOperation.java
+6
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/friend/FriendClerkSyncNewOperation.java
View file @
0a784795
...
...
@@ -52,8 +52,10 @@ public class FriendClerkSyncNewOperation implements BaseSyncOperation {
//获取所有外部联系人的外部联系人ids
List
<
String
>
selfUserIdList
=
memberUnionidRelatedApiService
.
listSelfExterialList
(
wxEnterpriseId
,
wxUserId
);
logger
.
info
(
"selfUserIdList={}"
,
JSONObject
.
toJSONString
(
selfUserIdList
));
if
(
null
==
selfUserIdList
&&
tryAgainToMq
(
dataPre
)
)
{
if
(
null
==
selfUserIdList
)
{
logger
.
info
(
"自建应用调用第三方接口进入重试"
);
dealFlag
=
tryAgainToMq
(
dataPre
);
reason
=
"重试次数过多"
;
return
;
}
if
(
CollectionUtils
.
isEmpty
(
selfUserIdList
))
{
...
...
@@ -64,7 +66,9 @@ public class FriendClerkSyncNewOperation implements BaseSyncOperation {
}
//第三方服务商的外部联系人
List
<
String
>
userIdList
=
memberUnionidRelatedApiService
.
listExterialList
(
wxEnterpriseId
,
wxUserId
);
if
(
null
==
selfUserIdList
&&
tryAgainToMq
(
dataPre
))
{
if
(
null
==
selfUserIdList
)
{
dealFlag
=
tryAgainToMq
(
dataPre
);
reason
=
"重试次数过多"
;
logger
.
info
(
"第三方服务商外部联系人调用失败进入重试:{}"
,
dataPre
.
getDataId
());
return
;
}
...
...
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