Przeglądaj źródła

give click events to use in.Reply

master
Patrick Peng Sun 8 lat temu
rodzic
commit
6ca1dd78df
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      serveEvents.go

+ 2
- 1
serveEvents.go Wyświetl plik

@@ -22,8 +22,8 @@ func (ss *openIDSessionData) serveEvents(in *InWechatMsg) (processed bool) {
in.replyText("")
onLocation(in)
case "CLICK":
in.replyText("")
onClick(ss, in)
in.replyText("") //safeguard
case "VIEW":
in.replyText("VIEW" + e.EventKey)
case "TEMPLATESENDJOBFINISH":
@@ -36,6 +36,7 @@ func (ss *openIDSessionData) serveEvents(in *InWechatMsg) (processed bool) {
// <Status><![CDATA[success]]></Status>
// </xml>
//in.replyText("TEMPLATESENDJOBFINISH")
in.replyText("")
}
return
}

Ładowanie…
Anuluj
Zapisz