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
e00def26
Commit
e00def26
authored
Feb 27, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业微信取消授权回调处理
parent
cfedc4b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
QywxCallBackDTO.java
...n/java/com/gic/haoban/manage/api/dto/QywxCallBackDTO.java
+9
-0
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+5
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/QywxCallBackDTO.java
View file @
e00def26
...
@@ -22,6 +22,7 @@ public class QywxCallBackDTO implements Serializable{
...
@@ -22,6 +22,7 @@ public class QywxCallBackDTO implements Serializable{
private
String
newUserid
;
private
String
newUserid
;
private
String
mobile
;
private
String
mobile
;
private
String
position
;
private
String
position
;
private
Integer
status
;
//激活状态:1=激活或关注, 2=禁用, 4=未激活
private
Integer
id
;
private
Integer
id
;
private
String
departmentName
;
private
String
departmentName
;
...
@@ -182,4 +183,12 @@ public class QywxCallBackDTO implements Serializable{
...
@@ -182,4 +183,12 @@ public class QywxCallBackDTO implements Serializable{
public
void
setPosition
(
String
position
)
{
public
void
setPosition
(
String
position
)
{
this
.
position
=
position
;
this
.
position
=
position
;
}
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
e00def26
...
@@ -169,6 +169,11 @@ public class MessageApiServiceImpl implements MessageApiService {
...
@@ -169,6 +169,11 @@ public class MessageApiServiceImpl implements MessageApiService {
staff
.
setStaffName
(
qywxCallBackDTO
.
getUserName
());
staff
.
setStaffName
(
qywxCallBackDTO
.
getUserName
());
staff
.
setWxUserId
(
qywxCallBackDTO
.
getUserid
());
staff
.
setWxUserId
(
qywxCallBackDTO
.
getUserid
());
staff
.
setPostion
(
qywxCallBackDTO
.
getPosition
());
staff
.
setPostion
(
qywxCallBackDTO
.
getPosition
());
if
(
qywxCallBackDTO
.
getStatus
()
!=
null
&&
qywxCallBackDTO
.
getStatus
()
==
1
){
staff
.
setActiveFlag
(
1
);
}
else
{
staff
.
setActiveFlag
(
0
);
}
if
(
qywxCallBackDTO
.
getChangeType
().
equals
(
WxEditType
.
ADDUSER
.
getCode
())){
if
(
qywxCallBackDTO
.
getChangeType
().
equals
(
WxEditType
.
ADDUSER
.
getCode
())){
this
.
addUser
(
qywxCallBackDTO
,
staff
);
this
.
addUser
(
qywxCallBackDTO
,
staff
);
}
else
if
(
qywxCallBackDTO
.
getChangeType
().
equals
(
WxEditType
.
UPDATEUSER
.
getCode
())){
}
else
if
(
qywxCallBackDTO
.
getChangeType
().
equals
(
WxEditType
.
UPDATEUSER
.
getCode
())){
...
...
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