|
@@ -199,7 +199,7 @@ func userJudge(c *wcf.RpcContact) (bool, string, string) {
|
|
|
func sendText(content, wxId, appellation string) (bool, error) {
|
|
|
if appellation != "" {
|
|
|
appellation = string([]rune(appellation)[0])
|
|
|
- content = fmt.Sprintf("%s老师,%s", appellation, content)
|
|
|
+ content = fmt.Sprintf("%s老师,%s", appellation, content)
|
|
|
}
|
|
|
if app.WxClient.SendTxt(content, wxId, nil) != 0 {
|
|
|
return false, fmt.Errorf(fmt.Sprintf("%s%s文字消息发送失败", content, wxId))
|