Browse Source

fix:material url (#299)

Amor 6 năm trước cách đây
mục cha
commit
c956f416a5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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"
 )