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
7c774074
Commit
7c774074
authored
Jun 14, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
6618e1e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
QywxOpenController.java
...oban/manage/web/controller/haoban/QywxOpenController.java
+3
-6
OpenStaffVO.java
...c/main/java/com/gic/haoban/manage/web/vo/OpenStaffVO.java
+13
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/haoban/QywxOpenController.java
View file @
7c774074
...
@@ -55,15 +55,12 @@ public class QywxOpenController {
...
@@ -55,15 +55,12 @@ public class QywxOpenController {
qdto
.
setStaffId
(
staffId
);
qdto
.
setStaffId
(
staffId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
ServiceResponse
<
Long
>
codeResp
=
this
.
openStaffApiService
.
init
(
qdto
)
;
ServiceResponse
<
OpenStaffDTO
>
codeResp
=
this
.
openStaffApiService
.
init
(
qdto
)
;
if
(
null
==
codeResp
.
getResult
())
{
if
(
null
==
codeResp
.
getResult
())
{
return
RestResponse
.
failure
(
"9999"
,
codeResp
.
getMessage
());
return
RestResponse
.
failure
(
"9999"
,
codeResp
.
getMessage
());
}
}
ServiceResponse
<
OpenStaffDTO
>
staffResp
=
this
.
openStaffApiService
.
getById
(
codeResp
.
getResult
())
;
vo
.
setQrcode
(
codeResp
.
getResult
().
getQrCode1
());
if
(
null
==
staffResp
.
getResult
())
{
vo
.
setQrcodeData
(
codeResp
.
getResult
().
getQrcodeData
());
return
RestResponse
.
failure
(
"9999"
,
staffResp
.
getMessage
());
}
vo
.
setQrcode
(
staffResp
.
getResult
().
getQrCode1
());
}
}
}
}
WxEnterpriseDTO
en
=
this
.
wxEnterpriseApiService
.
getOne
(
wxEnterpriseId
)
;
WxEnterpriseDTO
en
=
this
.
wxEnterpriseApiService
.
getOne
(
wxEnterpriseId
)
;
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/vo/OpenStaffVO.java
View file @
7c774074
...
@@ -27,6 +27,19 @@ public class OpenStaffVO implements Serializable {
...
@@ -27,6 +27,19 @@ public class OpenStaffVO implements Serializable {
*/
*/
private
String
qrcode
;
private
String
qrcode
;
/**
* base64
*/
private
String
qrcodeData
;
public
String
getQrcodeData
()
{
return
qrcodeData
;
}
public
void
setQrcodeData
(
String
qrcodeData
)
{
this
.
qrcodeData
=
qrcodeData
;
}
public
String
getStaffName
()
{
public
String
getStaffName
()
{
return
staffName
;
return
staffName
;
}
}
...
...
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