Skip to content

Commit

Permalink
success回复
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal_lin authored and pascal_lin committed Jun 8, 2017
1 parent 6dbb669 commit 555d074
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/wechat.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,13 @@ class Wechat {
ctx.body = '';
return;
}
/**
* 全网发布时component_verify_ticket需要回复success
*/
if (body === 'success') {
ctx.body = 'success';
return;
}

var replyMessageXml = reply(body, formatted.ToUserName, formatted.FromUserName);

Expand Down

0 comments on commit 555d074

Please sign in to comment.