Browse Source

#1494

fix
tags/v1.22.2.2^2
Gitea 3 years ago
parent
commit
deab16c880
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      routers/authentication/wechat_event.go

+ 4
- 0
routers/authentication/wechat_event.go View File

@@ -21,6 +21,10 @@ func AcceptWechatEvent(ctx *context.Context) {
replyStr = wechat.HandleSubscribeEvent(we)
}

if replyStr == "" {
log.Info("reply str is empty")
return
}
reply := &wechat.Xml{
ToUserName: we.FromUserName,
FromUserName: we.ToUserName,


Loading…
Cancel
Save