Ver código fonte

add description for echo server

master
Patrick Peng Sun 8 anos atrás
pai
commit
e6207fd3c4
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      serveCommand.go

+ 1
- 1
serveCommand.go Ver arquivo

@@ -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
}

Carregando…
Cancelar
Salvar