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
32c56507
Commit
32c56507
authored
Jun 27, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
d7f0c694
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
QywxCallbackController.java
.../haoban/manage/web/controller/QywxCallbackController.java
+3
-3
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/QywxCallbackController.java
View file @
32c56507
...
...
@@ -141,11 +141,11 @@ public class QywxCallbackController extends WebBaseController {
// 14 101 图片
// 23 103(微信) 视频消息
// 15 102(微信) 文件消息
// 104 gif表情消息类型
// 104 gif表情消息类型
29
// 26 红包
// 78 小程序
// 13 链接
List
<
String
>
msgList
=
Arrays
.
asList
(
"0"
,
"2"
,
"101"
,
"6"
,
"41"
,
"40"
,
"14"
,
"16"
,
"23"
,
"103"
,
"15"
,
"102"
,
"104"
,
"26"
,
"78"
,
"13"
)
;
List
<
String
>
msgList
=
Arrays
.
asList
(
"0"
,
"2"
,
"101"
,
"6"
,
"41"
,
"40"
,
"14"
,
"16"
,
"23"
,
"103"
,
"15"
,
"102"
,
"104"
,
"26"
,
"78"
,
"13"
,
"29"
)
;
if
(!
msgList
.
contains
(
msgtype
+
""
))
{
logger
.
info
(
"不处理的消息"
);
return
;
...
...
@@ -187,7 +187,7 @@ public class QywxCallbackController extends WebBaseController {
}
else
if
(
msgtype
==
26
)
{
msg
.
setMsgtype
(
OpenQwMsgTypeEnum
.
RED
);
msg
.
setContent
(
json
.
getString
(
"remark"
));
}
else
if
(
msgtype
==
104
)
{
}
else
if
(
msgtype
==
104
||
msgtype
==
29
)
{
msg
.
setMsgtype
(
OpenQwMsgTypeEnum
.
GIF
);
msg
.
setContent
(
json
.
getString
(
"url"
));
}
else
if
(
msgtype
==
23
||
msgtype
==
103
){
...
...
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