浏览代码

add description for echo server

master
Patrick Peng Sun 8 年前
父节点
当前提交
e6207fd3c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      serveCommand.go

+ 1
- 1
serveCommand.go 查看文件

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

正在加载...
取消
保存