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
c1acc940
Commit
c1acc940
authored
Apr 23, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/自建应用验证' into 'developer'
第三方主体unionid转换为第三方external_userid 自建没有 See merge request
!1196
parents
33e49908
0e4ffc0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+3
-0
QywxTagApiServiceImpl.java
...anage/service/service/out/impl/QywxTagApiServiceImpl.java
+1
-5
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
c1acc940
...
...
@@ -1547,6 +1547,9 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
}
String
wxEnterpriseId
=
tabHaobanWxEnterpris
.
getWxEnterpriseId
();
WxEnterpriseQwDTO
qwDTO
=
this
.
wxEnterpriseService
.
getQwInfo
(
wxEnterpriseId
);
if
(
qwDTO
.
isSelf
())
{
continue
;
}
String
corpid
=
qwDTO
.
getThirdCorpid
();
List
<
UnionidToExternalUseridDTO
>
unionidToExternalUseridDTOS
=
qywxUserApiService
.
unionidToExternalUserid3rd
(
unionid
,
openId
,
corpid
,
config
.
getWxSuiteid
());
if
(
CollectionUtils
.
isEmpty
(
unionidToExternalUseridDTOS
))
{
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/QywxTagApiServiceImpl.java
View file @
c1acc940
...
...
@@ -221,11 +221,7 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
qywxTagService
.
closeSync
(
wxEnterpriseId
,
memberTagId
);
List
<
String
>
delIds
=
new
ArrayList
<>();
delIds
.
add
(
tabQywxTag
.
getQywxGroupKey
());
String
secret
=
config
.
getWxSuiteid
()
;
if
(
qwDTO
.
isSelf
())
{
secret
=
qwDTO
.
getSelfSecret
()
;
}
QywxResponseDTO
responseDTO
=
qywxSuiteApiService
.
delCorpTag
(
qwDTO
.
getThirdCorpid
(),
secret
,
delIds
,
0
,
qwDTO
.
isSelf
(),
qwDTO
.
getUrlHost
());
QywxResponseDTO
responseDTO
=
qywxSuiteApiService
.
delCorpTag
(
qwDTO
.
getThirdCorpid
(),
QwUtils
.
getSecret
(
qwDTO
,
config
.
getWxSuiteid
()),
delIds
,
0
,
qwDTO
.
isSelf
(),
qwDTO
.
getUrlHost
());
logger
.
info
(
"关闭同步:{}"
,
JSONObject
.
toJSONString
(
responseDTO
));
if
(
responseDTO
.
getErrcode
()
!=
0
)
{
resp
.
setMessage
(
responseDTO
.
getErrmsg
());
...
...
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