diff --git a/message.go b/message.go index 8f76c4d..0f9b26e 100644 --- a/message.go +++ b/message.go @@ -132,10 +132,15 @@ func (c *WorkwxApp) SendNewsMessage( recipient, "news", map[string]interface{}{ - "title": title, - "description": description, // TODO: 零值 - "url": url, - "picurl": picURL, // TODO: 零值 + // TODO: 支持发送多条图文 + "articles": []interface{}{ + map[string]interface{}{ + "title": title, + "description": description, // TODO: 零值 + "url": url, + "picurl": picURL, // TODO: 零值 + }, + }, }, isSafe, ) }