From c956f416a533816d62b45d062ab4a8b9aa7d9676 Mon Sep 17 00:00:00 2001 From: Amor Date: Tue, 7 Jul 2020 19:01:25 +0800 Subject: [PATCH] fix:material url (#299) --- officialaccount/material/material.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/officialaccount/material/material.go b/officialaccount/material/material.go index 82bc9ae..576d901 100644 --- a/officialaccount/material/material.go +++ b/officialaccount/material/material.go @@ -11,11 +11,11 @@ import ( const ( addNewsURL = "https://api.weixin.qq.com/cgi-bin/material/add_news" - updateNewsURL = "https://api.weixin.qq.com/cgi-bin/material/update_news?access_token=%s" + updateNewsURL = "https://api.weixin.qq.com/cgi-bin/material/update_news" addMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/add_material" delMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/del_material" getMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/get_material" - getMaterialCountURL = "https://api.weixin.qq.com/cgi-bin/material/get_materialcount?access_token=%s" + getMaterialCountURL = "https://api.weixin.qq.com/cgi-bin/material/get_materialcount" batchGetMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/batchget_material" )