Explorar el Código

add description for echo server

master
Patrick Peng Sun hace 8 años
padre
commit
e6207fd3c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      serveCommand.go

+ 1
- 1
serveCommand.go Ver fichero

@@ -18,7 +18,7 @@ func echoCommand(openID string, in InWechatMsg) (state chatState, processed bool
switch in.body.(type) {
case TextMsg:
m := in.body.(TextMsg)
str, err = BuildTextMsg(openID, m.Content+"\n\n 转接 可以测试客服")
str, err = BuildTextMsg(openID, m.Content+"\n\n关键词 [转接] 将后续信息都转接到 客服")
if m.Content == "转接" {
processed = false
}

Cargando…
Cancelar
Guardar