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
e5efa4e8
Commit
e5efa4e8
authored
May 22, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
fe627ee3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
QywxCallbackController.java
.../haoban/manage/web/controller/QywxCallbackController.java
+4
-5
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/QywxCallbackController.java
View file @
e5efa4e8
...
@@ -101,6 +101,7 @@ public class QywxCallbackController extends WebBaseController {
...
@@ -101,6 +101,7 @@ public class QywxCallbackController extends WebBaseController {
public
List
<
String
>
init
(
Object
object
)
{
public
List
<
String
>
init
(
Object
object
)
{
String
callbackUrl
=
"https://www.gicdev.com/haoban-manage3-operation-web/qywx-msg-notice"
;
String
callbackUrl
=
"https://www.gicdev.com/haoban-manage3-operation-web/qywx-msg-notice"
;
String
map1
=
HttpClient
.
sendPostJSON
(
String
.
format
(
url
,
"init"
)
,
"{}"
,
"utf-8"
)
;
String
map1
=
HttpClient
.
sendPostJSON
(
String
.
format
(
url
,
"init"
)
,
"{}"
,
"utf-8"
)
;
logger
.
info
(
map1
);
JSONObject
json
=
JSONObject
.
parseObject
(
map1
)
;
JSONObject
json
=
JSONObject
.
parseObject
(
map1
)
;
String
uuid
=
json
.
getJSONObject
(
"data"
).
getString
(
"uuid"
)
;
String
uuid
=
json
.
getJSONObject
(
"data"
).
getString
(
"uuid"
)
;
JSONObject
setCallbackUrl
=
new
JSONObject
()
;
JSONObject
setCallbackUrl
=
new
JSONObject
()
;
...
@@ -108,10 +109,8 @@ public class QywxCallbackController extends WebBaseController {
...
@@ -108,10 +109,8 @@ public class QywxCallbackController extends WebBaseController {
setCallbackUrl
.
put
(
"url"
,
callbackUrl
)
;
setCallbackUrl
.
put
(
"url"
,
callbackUrl
)
;
String
map2
=
HttpClient
.
sendPostJSON
(
String
.
format
(
url
,
"SetCallbackUrl"
),
setCallbackUrl
.
toJSONString
(),
"utf-8"
)
;
String
map2
=
HttpClient
.
sendPostJSON
(
String
.
format
(
url
,
"SetCallbackUrl"
),
setCallbackUrl
.
toJSONString
(),
"utf-8"
)
;
String
map3
=
HttpClient
.
sendPostJSON
(
String
.
format
(
url
,
"getQrCode"
),
setCallbackUrl
.
toJSONString
(),
"utf-8"
)
;
String
map3
=
HttpClient
.
sendPostJSON
(
String
.
format
(
url
,
"getQrCode"
),
setCallbackUrl
.
toJSONString
(),
"utf-8"
)
;
List
<
String
>
list
=
new
ArrayList
<>();
logger
.
info
(
map2
);
list
.
add
(
map1
);
logger
.
info
(
map3
);
list
.
add
(
map2
)
;
return
null
;
list
.
add
(
map3
)
;
return
list
;
}
}
}
}
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