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
1
Merge Requests
1
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
db5a8a6a
Commit
db5a8a6a
authored
Mar 02, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-2022_03_02' into developer
parents
6a282480
ea73ea12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+6
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
db5a8a6a
...
...
@@ -1351,10 +1351,14 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
String
corpid
=
enterprise
.
getCorpid
();
String
userId
=
""
;
TabHaobanStaff
staff
=
staffService
.
selectByUserIdAndEnterpriseId
(
wxUserId
,
wxEnterpriseId
);
if
(
staff
!=
null
&&
StringUtils
.
isNotBlank
(
staff
.
getWxOpenUseId
()))
{
if
(
staff
==
null
)
{
log
.
error
(
"员工为空,wxUserId:{}"
,
wxUserId
);
return
null
;
}
if
(
corpid
.
length
()
>
20
)
{
userId
=
staff
.
getWxOpenUseId
();
}
else
{
userId
=
wxUserId
;
userId
=
staff
.
getWxUserId
()
;
}
log
.
info
(
"【获取第三方应用好友】wxEnterpriseId={},userId={}"
,
wxEnterpriseId
,
userId
);
String
wxRes
=
qywxUserApiService
.
listExternalUserid
(
corpid
,
config
.
getWxSuiteid
(),
userId
);
...
...
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