diff --git a/officialaccount/message/template.go b/officialaccount/message/template.go index ef07349..2964d5c 100644 --- a/officialaccount/message/template.go +++ b/officialaccount/message/template.go @@ -106,7 +106,7 @@ func (tpl *Template) List() (templateList []*TemplateItem, err error) { return } var res resTemplateList - err = util.DecodeWithError(response, res, "ListTemplate") + err = util.DecodeWithError(response, &res, "ListTemplate") if err != nil { return }