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
2c7af08a
Commit
2c7af08a
authored
Jan 16, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature/获取用户敏感信息' into developer
parents
c8d397a7
7bc2def3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
WxStaffController.java
...m/gic/haoban/manage/web/controller/WxStaffController.java
+4
-4
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxStaffController.java
View file @
2c7af08a
...
...
@@ -1798,7 +1798,7 @@ public class WxStaffController extends WebBaseController {
*/
@RequestMapping
(
"get-third-auth-url"
)
public
HaobanResponse
getAuthUrl
()
{
String
suiteId
=
config
.
get
SuiteI
d
();
String
suiteId
=
config
.
get
WxSuitei
d
();
logger
.
info
(
"通讯录应用ID:{}"
,
suiteId
);
String
redictUrl
=
config
.
getHost
()
+
"third-callback"
;
String
authorizationUrl
=
qywxCorpApiService
.
getAuthorizationUrl
(
suiteId
,
redictUrl
,
"snsapi_privateinfo"
);
...
...
@@ -1810,9 +1810,9 @@ public class WxStaffController extends WebBaseController {
* @param code
*/
@RequestMapping
(
"third-callback"
)
public
void
getAuthUrl
(
String
code
)
{
logger
.
info
(
"获取第三方应用用户敏感信息企微回调的code:{}
"
,
cod
e
);
String
suiteId
=
config
.
get
SuiteI
d
();
public
void
getAuthUrl
(
String
code
,
String
state
)
{
logger
.
info
(
"获取第三方应用用户敏感信息企微回调的code:{}
,state:{}"
,
code
,
stat
e
);
String
suiteId
=
config
.
get
WxSuitei
d
();
ServiceResponse
<
UserSensitiveInfoDTO
>
dto
=
qywxUserApiService
.
getUserSensitiveInfoDTOByCode
(
code
,
suiteId
);
UserSensitiveInfoDTO
result
=
dto
.
getResult
();
//更新staff的qr_code
...
...
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