diff --git a/qyweixin/app_customer.go b/qyweixin/app_customer.go index 2d4c9e1..eb44553 100644 --- a/qyweixin/app_customer.go +++ b/qyweixin/app_customer.go @@ -65,7 +65,7 @@ func (a *AppCustomer) SendCustomerText(toUser, openKfId, content string) error { params := make(map[string]interface{}) params["touser"] = toUser params["open_kfid"] = openKfId - params["msg_type"] = "text" + params["msgtype"] = "text" params["text"] = map[string]interface{}{ "content": content, }