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
e941e673
Commit
e941e673
authored
Sep 29, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_xgh_博格瑞绝色bug' into 'master_xgh_pendingid'
Master xgh 博格瑞绝色bug See merge request
!282
parents
b5558721
1d265357
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+9
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
e941e673
...
@@ -298,8 +298,15 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -298,8 +298,15 @@ public class StaffApiServiceImpl implements StaffApiService {
if
(
qwDTO
.
getWxSecurityType
()==
4
)
{
if
(
qwDTO
.
getWxSecurityType
()==
4
)
{
list
=
qywxUserApiService
.
useridToOpenuserid
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
Collections
.
singletonList
(
userId
));
list
=
qywxUserApiService
.
useridToOpenuserid
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
Collections
.
singletonList
(
userId
));
}
else
{
}
else
{
SecretSettingDTO
set
=
this
.
secretSettingService
.
getSecretSetting
(
qwDTO
.
getWxEnterpriseId
(),
SecretTypeEnum
.
CUSTOMIZED_APP
.
getVal
())
;
// 绝色这类商户在2个服务商,在2023516要切换调
list
=
qywxUserApiService
.
getSelfUseridToOpenuserid
(
qwDTO
.
getDkCorpid
(),
set
.
getSecretVal
()
,
Collections
.
singletonList
(
userId
));
Object
o
=
RedisUtil
.
getCache
(
"bgrjswxEnterpriseId"
)
;
if
(
null
!=
o
&&
o
.
toString
().
contains
(
qwDTO
.
getWxEnterpriseId
()))
{
logger
.
info
(
"绝色同步通讯录"
);
list
=
qywxUserApiService
.
useridToOpenuserid
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
(),
Collections
.
singletonList
(
userId
));
}
else
{
SecretSettingDTO
set
=
this
.
secretSettingService
.
getSecretSetting
(
qwDTO
.
getWxEnterpriseId
(),
SecretTypeEnum
.
CUSTOMIZED_APP
.
getVal
())
;
list
=
qywxUserApiService
.
getSelfUseridToOpenuserid
(
qwDTO
.
getDkCorpid
(),
set
.
getSecretVal
()
,
Collections
.
singletonList
(
userId
));
}
}
}
logger
.
info
(
"明文userId转密文={},{}"
,
userId
,
JSON
.
toJSONString
(
list
));
logger
.
info
(
"明文userId转密文={},{}"
,
userId
,
JSON
.
toJSONString
(
list
));
if
(
CollectionUtils
.
isEmpty
(
list
))
{
if
(
CollectionUtils
.
isEmpty
(
list
))
{
...
...
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