|
@@ -11,11 +11,11 @@ import (
|
|
|
|
|
|
|
|
const (
|
|
const (
|
|
|
addNewsURL = "https://api.weixin.qq.com/cgi-bin/material/add_news"
|
|
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"
|
|
addMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/add_material"
|
|
|
delMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/del_material"
|
|
delMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/del_material"
|
|
|
getMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/get_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"
|
|
batchGetMaterialURL = "https://api.weixin.qq.com/cgi-bin/material/batchget_material"
|
|
|
)
|
|
)
|
|
|
|
|
|