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
c3f6bc90
Commit
c3f6bc90
authored
Jul 18, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退出监控
parent
c837cc24
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
QywxCallbackController.java
.../haoban/manage/web/controller/QywxCallbackController.java
+3
-4
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/QywxCallbackController.java
View file @
c3f6bc90
...
@@ -42,10 +42,9 @@ public class QywxCallbackController extends WebBaseController {
...
@@ -42,10 +42,9 @@ public class QywxCallbackController extends WebBaseController {
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
body
)
;
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
body
)
;
int
type
=
jsonObject
.
getIntValue
(
"type"
)
;
int
type
=
jsonObject
.
getIntValue
(
"type"
)
;
String
uuid
=
jsonObject
.
getString
(
"uuid"
)
;
String
uuid
=
jsonObject
.
getString
(
"uuid"
)
;
String
msg
=
jsonObject
.
getString
(
"msg"
)
;
Long
qwStaffId
=
jsonObject
.
getLong
(
"vid"
)
;
Long
qwStaffId
=
jsonObject
.
getLong
(
"vid"
)
;
JSONObject
json
=
jsonObject
.
getJSONObject
(
"json"
)
;
JSONObject
json
=
jsonObject
.
getJSONObject
(
"json"
)
;
this
.
post
(
type
,
uuid
,
json
,
qwStaffId
,
msg
);
this
.
post
(
type
,
uuid
,
json
,
qwStaffId
);
Map
<
String
,
String
>
map
=
new
HashMap
<>()
;
Map
<
String
,
String
>
map
=
new
HashMap
<>()
;
map
.
put
(
"errcode"
,
"0"
)
;
map
.
put
(
"errcode"
,
"0"
)
;
map
.
put
(
"errmsg"
,
"ok"
)
;
map
.
put
(
"errmsg"
,
"ok"
)
;
...
@@ -56,7 +55,7 @@ public class QywxCallbackController extends WebBaseController {
...
@@ -56,7 +55,7 @@ public class QywxCallbackController extends WebBaseController {
return
"ok"
;
return
"ok"
;
}
}
private
void
post
(
int
type
,
String
uuid
,
JSONObject
json
,
Long
qwStaffId
,
String
msg
)
{
private
void
post
(
int
type
,
String
uuid
,
JSONObject
json
,
Long
qwStaffId
)
{
switch
(
type
)
{
switch
(
type
)
{
case
116002
:
case
116002
:
this
.
addFriend
(
json
,
qwStaffId
)
;
this
.
addFriend
(
json
,
qwStaffId
)
;
...
@@ -92,7 +91,7 @@ public class QywxCallbackController extends WebBaseController {
...
@@ -92,7 +91,7 @@ public class QywxCallbackController extends WebBaseController {
this
.
close
(
uuid
,
OpenStaffOfflineEnum
.
OFFLINE4
);
this
.
close
(
uuid
,
OpenStaffOfflineEnum
.
OFFLINE4
);
break
;
break
;
case
100007
:
case
100007
:
this
.
close
(
uuid
,
OpenStaffOfflineEnum
.
OFFLINE2
,
msg
);
this
.
close
(
uuid
,
OpenStaffOfflineEnum
.
OFFLINE2
,
json
.
getString
(
"msg"
)
);
break
;
break
;
default
:
default
:
break
;
break
;
...
...
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