Amor 6 anni fa
parent
commit
c956f416a5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      officialaccount/material/material.go

+ 2 - 2
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"
 )