Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
git test
Jpress
Commits
ffb0cd55
Commit
ffb0cd55
authored
6 years ago
by
fuhai999@gmail.com
Browse files
Options
Download
Email Patches
Plain Diff
v2.0
parent
ebe966b2
master
v3
v4.0
v4.2.1
v4.2.0
v4.1.5
v4.1.4
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.9
v4.0.8
v4.0.7
v4.0.6
v4.0.5
v4.0.4
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v4.0.0-rc.2
v4.0.0-rc.1
v3.3.0
v3.2.5
v3.2.4
v3.2.3
v3.2.2
v3.2.1
v3.2.0
v3.1.1
v3.1.0
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v3.0.0-rc.3
v3.0.0-rc.2
v3.0.0-beta.2
v3.0.0-beta.1
v3.0.0-alpha.2
v3.0.0-alpha.1
v3.0-rc.1
v2.0.8
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jpress-web/src/main/java/io/jpress/web/wechat/WechatMsgNotifyController.java
+7
-1
.../java/io/jpress/web/wechat/WechatMsgNotifyController.java
with
7 additions
and
1 deletion
+7
-1
jpress-web/src/main/java/io/jpress/web/wechat/WechatMsgNotifyController.java
+
7
-
1
View file @
ffb0cd55
...
...
@@ -22,6 +22,7 @@ import com.jfinal.weixin.sdk.jfinal.MsgControllerAdapter;
import
com.jfinal.weixin.sdk.jfinal.MsgInterceptor
;
import
com.jfinal.weixin.sdk.msg.in.InMsg
;
import
com.jfinal.weixin.sdk.msg.in.InTextMsg
;
import
com.jfinal.weixin.sdk.msg.in.event.EventInMsg
;
import
com.jfinal.weixin.sdk.msg.in.event.InFollowEvent
;
import
com.jfinal.weixin.sdk.msg.in.event.InMenuEvent
;
import
com.jfinal.weixin.sdk.msg.out.OutTextMsg
;
...
...
@@ -144,7 +145,12 @@ public class WechatMsgNotifyController extends MsgControllerAdapter {
@Override
protected
void
renderDefault
()
{
renderOptionValue
(
"wechat_reply_unknow"
,
""
);
//不处理事件消息,否则可能会出现用户进行扫描带参数二维码等回复此内容
if
(
getInMsg
()
instanceof
EventInMsg
){
renderNull
();
}
else
{
renderOptionValue
(
"wechat_reply_unknow"
,
""
);
}
}
private
void
renderOptionValue
(
String
optionKey
,
String
defaultText
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help