Просмотр исходного кода

material to be specific

master
Patrick Peng Sun 9 лет назад
Родитель
Сommit
32f940f145
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      material.go

medialist.go → material.go Просмотреть файл

return return
} }


func url4NewsList() string {
func url4MaterialList() string {
atk, _ := GetAccessToken() atk, _ := GetAccessToken()
u := fmt.Sprintf("https://api.weixin.qq.com/cgi-bin/material/batchget_material?access_token=%s", atk) u := fmt.Sprintf("https://api.weixin.qq.com/cgi-bin/material/batchget_material?access_token=%s", atk)
return u return u
} }


func url4MediaCount() string {
func url4MaterialCount() string {
atk, _ := GetAccessToken() atk, _ := GetAccessToken()
u := fmt.Sprintf("https://api.weixin.qq.com/cgi-bin/material/get_materialcount?access_token=%s", atk) u := fmt.Sprintf("https://api.weixin.qq.com/cgi-bin/material/get_materialcount?access_token=%s", atk)
return u return u

Загрузка…
Отмена
Сохранить