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
0acccdb1
Commit
0acccdb1
authored
Sep 16, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
9774e9d5
7dad79f8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+2
-2
WxEnterpriseInfoController.java
...ban/manage/web/controller/WxEnterpriseInfoController.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
0acccdb1
...
@@ -298,8 +298,8 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -298,8 +298,8 @@ 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
{
TabHaobanWxApplication
app
=
wxApplicationService
.
selectByCorpId
(
corpid
)
;
SecretSettingDTO
set
=
this
.
secretSettingService
.
getSecretSetting
(
qwDTO
.
getWxEnterpriseId
(),
SecretTypeEnum
.
CUSTOMIZED_APP
.
getVal
())
;
list
=
qywxUserApiService
.
useridToOpenuserid
(
qwDTO
.
getDkCorpid
(),
app
.
getSiteId
()
,
Collections
.
singletonList
(
userId
));
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
))
{
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseInfoController.java
View file @
0acccdb1
...
@@ -377,7 +377,7 @@ public class WxEnterpriseInfoController extends WebBaseController {
...
@@ -377,7 +377,7 @@ public class WxEnterpriseInfoController extends WebBaseController {
WxEnterpriseQwDTO
qwDTO
=
this
.
wxEnterpriseApiService
.
getQwInfo
(
wxEnterpriseId
)
;
WxEnterpriseQwDTO
qwDTO
=
this
.
wxEnterpriseApiService
.
getQwInfo
(
wxEnterpriseId
)
;
MemberLoginQo
user
=
new
MemberLoginQo
();
MemberLoginQo
user
=
new
MemberLoginQo
();
if
(
StringUtils
.
isBlank
(
qo
.
getUserId
()))
{
if
(
StringUtils
.
isBlank
(
qo
.
getUserId
()))
{
user
=
getUserByCode
(
wxEnterpriseId
,
qwDTO
.
get
Third
Corpid
()
,
qo
.
getCode
(),
qo
.
getGicEnterpriseId
());
user
=
getUserByCode
(
wxEnterpriseId
,
qwDTO
.
get
Member
Corpid
()
,
qo
.
getCode
(),
qo
.
getGicEnterpriseId
());
if
(
user
==
null
)
{
if
(
user
==
null
)
{
logger
.
info
(
"登录失败,从微信获取用户信息失败"
);
logger
.
info
(
"登录失败,从微信获取用户信息失败"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_6
);
return
resultResponse
(
HaoBanErrCode
.
ERR_6
);
...
...
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