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
f58f2641
Commit
f58f2641
authored
Jun 14, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
6d08431f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
OpenStaffDTO.java
...main/java/com/gic/haoban/manage/api/dto/OpenStaffDTO.java
+24
-0
QywxOpenController.java
...haoban/manage/web/controller/open/QywxOpenController.java
+9
-2
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/OpenStaffDTO.java
View file @
f58f2641
...
...
@@ -23,6 +23,14 @@ public class OpenStaffDTO implements Serializable {
* 成员id
*/
private
String
staffId
;
/**
* 成员名称
*/
private
String
staffName
;
/**
* 成员头像
*/
private
String
staffHeadImg
;
/**
* 创建时间
...
...
@@ -114,6 +122,22 @@ public class OpenStaffDTO implements Serializable {
*/
private
static
final
long
serialVersionUID
=
1L
;
public
String
getStaffName
()
{
return
staffName
;
}
public
void
setStaffName
(
String
staffName
)
{
this
.
staffName
=
staffName
;
}
public
String
getStaffHeadImg
()
{
return
staffHeadImg
;
}
public
void
setStaffHeadImg
(
String
staffHeadImg
)
{
this
.
staffHeadImg
=
staffHeadImg
;
}
public
String
getLoginRemark
()
{
return
loginRemark
;
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxOpenController.java
View file @
f58f2641
...
...
@@ -170,7 +170,10 @@ public class QywxOpenController {
return
RestResponse
.
failure
(
"9999"
,
resp
.
getMessage
())
;
}
Long
openStaffId
=
resp
.
getResult
()
;
return
RestResponse
.
successResult
(
this
.
openStaffApiService
.
getById
(
openStaffId
).
getResult
());
OpenStaffDTO
openStaffDTO
=
this
.
openStaffApiService
.
getById
(
openStaffId
).
getResult
()
;
openStaffDTO
.
setStaffHeadImg
(
staff
.
getHeadImg
());
openStaffDTO
.
setStaffName
(
staff
.
getStaffName
());
return
RestResponse
.
successResult
(
openStaffDTO
);
}
/**
...
...
@@ -184,7 +187,11 @@ public class QywxOpenController {
if
(!
resp
.
isSuccess
())
{
return
RestResponse
.
failure
(
"9999"
,
resp
.
getMessage
())
;
}
return
RestResponse
.
successResult
(
resp
.
getResult
());
OpenStaffDTO
openStaffDTO
=
resp
.
getResult
()
;
StaffDTO
staff
=
this
.
staffApiService
.
selectById
(
openStaffDTO
.
getStaffId
())
;
openStaffDTO
.
setStaffHeadImg
(
staff
.
getHeadImg
());
openStaffDTO
.
setStaffName
(
staff
.
getStaffName
());
return
RestResponse
.
successResult
(
openStaffDTO
);
}
/**
...
...
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