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
826b3ef4
Commit
826b3ef4
authored
Jan 17, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature/获取用户敏感信息' into developer
parents
209f4048
1b406b62
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
StaffApiService.java
...va/com/gic/haoban/manage/api/service/StaffApiService.java
+2
-2
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+1
-1
WxStaffController.java
...m/gic/haoban/manage/web/controller/WxStaffController.java
+1
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffApiService.java
View file @
826b3ef4
...
...
@@ -185,11 +185,11 @@ public interface StaffApiService {
int
updateOpenIdByStaffId
(
String
staffId
,
String
openId
);
/**
*
根据员工id获取二维码
*
判断成员是否授权获取敏感信息,0否 1是
* @param staffId
* @return
*/
int
get
QrCodeByStaffId
(
String
staffId
);
int
get
SensitiveStatus
(
String
staffId
);
/**
* 更新二维码通过员工id
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
826b3ef4
...
...
@@ -742,7 +742,7 @@ public class StaffApiServiceImpl implements StaffApiService {
}
@Override
public
int
get
QrCodeByStaffId
(
String
staffId
)
{
public
int
get
SensitiveStatus
(
String
staffId
)
{
String
qrCode
=
staffMapper
.
getQrCodeByStaffId
(
staffId
);
if
(
StringUtils
.
isNotBlank
(
qrCode
))
return
1
;
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxStaffController.java
View file @
826b3ef4
...
...
@@ -1830,7 +1830,7 @@ public class WxStaffController extends WebBaseController {
*/
@RequestMapping
(
"get-sensitive-status"
)
public
HaobanResponse
getSensitiveStatus
(
String
staffId
){
int
qrCodeByStaffId
=
staffApiService
.
get
QrCodeByStaffId
(
staffId
);
int
qrCodeByStaffId
=
staffApiService
.
get
SensitiveStatus
(
staffId
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
qrCodeByStaffId
);
}
}
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