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
3f86c03d
Commit
3f86c03d
authored
Feb 25, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:格式化代码
parent
7d561d40
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+5
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
3f86c03d
...
@@ -369,7 +369,8 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -369,7 +369,8 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
log
.
info
(
"不同开平,欢迎页面:"
);
log
.
info
(
"不同开平,欢迎页面:"
);
addFriendByWelcome
(
dto
,
staffClerkRelationDTO
);
addFriendByWelcome
(
dto
,
staffClerkRelationDTO
);
return
;
return
;
}
else
{
}
log
.
info
(
"同一开平,创建关联关系..."
);
log
.
info
(
"同一开平,创建关联关系..."
);
String
unionId
=
dto
.
getUnionid
();
String
unionId
=
dto
.
getUnionid
();
if
(
unionId
==
null
)
{
if
(
unionId
==
null
)
{
...
@@ -444,7 +445,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -444,7 +445,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
pushTagSync
(
memberId
,
wxEnterpriseId
,
enterpriseId
);
pushTagSync
(
memberId
,
wxEnterpriseId
,
enterpriseId
);
//回调给会员,更新是否为企微好友
//回调给会员,更新是否为企微好友
memberApiService
.
updateMemberQywxFlag
(
enterpriseId
,
memberId
,
1
);
memberApiService
.
updateMemberQywxFlag
(
enterpriseId
,
memberId
,
1
);
}
}
}
...
@@ -573,7 +574,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -573,7 +574,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
}
}
List
<
WelcomeMediaBO
>
welcomeMediaList
=
welcomeDetailBO
.
getWelcomeMediaList
();
List
<
WelcomeMediaBO
>
welcomeMediaList
=
welcomeDetailBO
.
getWelcomeMediaList
();
log
.
info
(
"欢迎语发送附件list:{}"
,
JSON
.
toJSONString
(
welcomeMediaList
));
log
.
info
(
"欢迎语发送附件list:{}"
,
JSON
.
toJSONString
(
welcomeMediaList
));
if
(
CollectionUtils
.
isNotEmpty
(
welcomeMediaList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
welcomeMediaList
))
{
for
(
WelcomeMediaBO
welcomeMediaBO
:
welcomeMediaList
)
{
for
(
WelcomeMediaBO
welcomeMediaBO
:
welcomeMediaList
)
{
...
@@ -1853,7 +1854,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
...
@@ -1853,7 +1854,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
//重试5次
//重试5次
Integer
currentTimes
=
Convert
.
toInt
(
RedisUtil
.
getCache
(
relationKey
),
0
);
Integer
currentTimes
=
Convert
.
toInt
(
RedisUtil
.
getCache
(
relationKey
),
0
);
if
(
currentTimes
>
MAX_TIMES
)
{
if
(
currentTimes
>
MAX_TIMES
)
{
log
.
error
(
"关注公共号-会员回调好办关联好友重试超过最大次数,relationKey:{}"
,
relationKey
);
log
.
error
(
"关注公共号-会员回调好办关联好友重试超过最大次数,relationKey:{}"
,
relationKey
);
return
;
return
;
}
}
GicMQClient
clientInstance
=
GICMQClientUtil
.
getClientInstance
();
GicMQClient
clientInstance
=
GICMQClientUtil
.
getClientInstance
();
...
...
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