From 844a3fa17b756e69e871bf7192b4acd9e2e05c3d Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Tue, 23 Jan 2024 19:35:41 +0800 Subject: [PATCH] msgtype --- qyweixin/app_customer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }