收藏
回答

获取素材列表接口获取图片,返回数量和实际数量不一样。而且返回的是最近使用的。不是图片素材,看图?

返回数据:"total_count":17,"item_count":18


{"item":[{"media_id":"XDhStr2AjqPdPU-SQ0OVoOUdTdPocsSIJtP3d9loIE8","name":"未命名图片","update_time":1626942462,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9GwDTEDhoCfibibNhQpl95RmT8Z0WL7aEJ1ANvyzVjgEXaGTcxd5HQ02RUGgItkzeeibkRSDZfGlAhg\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoKPJsHzalXhU9IDzdaEr_Og","name":"未命名图片","update_time":1626942424,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9GwDTEDhoCfibibNhQpl95RmSjMPEBARBUEzibnbInibKs4e0qCcf9V08e7ffqz0a9nK27u1ueLpJR4Q\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoCUBX8X4Jy9ckK4gvwoH7Sc","name":"未命名图片","update_time":1626941504,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9GwDTEDhoCfibibNhQpl95RmT8Z0WL7aEJ1ANvyzVjgEXaGTcxd5HQ02RUGgItkzeeibkRSDZfGlAhg\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoOArbbG4L1bdfiCbmtbQc0g","name":"未命名图片","update_time":1626941265,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9GwDTEDhoCfibibNhQpl95RmPKHsWlic7jSs8PtN0pjibQs1AwIk6GGwWmgDLHzpdBcokT6p0TibLPZEQ\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoGibbkE6RKCH1dGkNlmS61M","name":"未命名图片","update_time":1626941115,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9GwDTEDhoCfibibNhQpl95RmSjMPEBARBUEzibnbInibKs4e0qCcf9V08e7ffqz0a9nK27u1ueLpJR4Q\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoONelpJuns71iOW0JSy0TdE","name":"未命名图片","update_time":1626941093,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9GwDTEDhoCfibibNhQpl95RmSjMPEBARBUEzibnbInibKs4e0qCcf9V08e7ffqz0a9nK27u1ueLpJR4Q\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoOBN3i29Jwguohc4UpBjYoQ","name":"未命名图片","update_time":1626688511,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN8x3Wf8JeHOuUHKJ07wIAKG4xhl2yu6GDz6SYEgUTzOh8d6iaPL2HCRfA3Hea4brIrMcv2vLDuIVxQ\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoPo66zRJCV25OKozvieQXOY","name":"未命名图片","update_time":1626688471,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1puOVObbibZgZqBaZNo1JVLeYdqeicib7l1oSoZ3UQwy7Fr7icEx8YLCETw\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoB7CcO_Oq-Q6Sv8thuvstgc","name":"未命名图片","update_time":1626688406,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1puOVObbibZgZqBaZNo1JVLeYdqeicib7l1oSoZ3UQwy7Fr7icEx8YLCETw\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoDdvcblY7waqOFZG-1O_VMg","name":"未命名图片","update_time":1626688272,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1AkypbSCGZOWCSMmyt7MJuA9iakxiaDibDjy5l0NAF7FeFkeba5ygEDDjQ\/0?wx_fmt=png","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoDy8an-zjPlPSD-4emTlmPU","name":"未命名图片","update_time":1626688272,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1uTRMXAcuA4z51CelxRF0pt5iaDKnamdfwAkVltibPb3N9xOkWZhU1N2A\/0?wx_fmt=jpeg","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoOc7W9506pYULZpK48E-aZE","name":"未命名图片","update_time":1626688272,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1uTRMXAcuA4z51CelxRF0pt5iaDKnamdfwAkVltibPb3N9xOkWZhU1N2A\/0?wx_fmt=jpeg","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoO3x3XheEr1JamexJoCMiT8","name":"未命名图片","update_time":1626688272,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1uEP5ZJ8mYbaj2vZ2whZfm84SibJNXvTzkLDLGPibpyXG2I7Byl9qmicGA\/0?wx_fmt=jpeg","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoJ3R5hcjvWb3FNUsGw8mSTg","name":"未命名图片","update_time":1626688272,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1uEP5ZJ8mYbaj2vZ2whZfm84SibJNXvTzkLDLGPibpyXG2I7Byl9qmicGA\/0?wx_fmt=jpeg","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoIom-nLTVO4pe3qB6jsuAMs","name":"未命名图片","update_time":1626688272,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1uTRMXAcuA4z51CelxRF0pt5iaDKnamdfwAkVltibPb3N9xOkWZhU1N2A\/0?wx_fmt=jpeg","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoPmJIh7jWPFjb87XNDiY45Y","name":"未命名图片","update_time":1626688272,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1uTRMXAcuA4z51CelxRF0pt5iaDKnamdfwAkVltibPb3N9xOkWZhU1N2A\/0?wx_fmt=jpeg","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoJ3WvhgixYwyDnBlqwQcK8I","name":"未命名图片","update_time":1626688271,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1uEP5ZJ8mYbaj2vZ2whZfm84SibJNXvTzkLDLGPibpyXG2I7Byl9qmicGA\/0?wx_fmt=jpeg","tags":[]},{"media_id":"XDhStr2AjqPdPU-SQ0OVoOWz2jXIzGE8vT3d3UKU74c","name":"未命名图片","update_time":1626688271,"url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/ciaXfb4tqZN9FAkS5vNkzFvibFVMY2RAX1uEP5ZJ8mYbaj2vZ2whZfm84SibJNXvTzkLDLGPibpyXG2I7Byl9qmicGA\/0?wx_fmt=jpeg","tags":[]}],"total_count":17,"item_count":18}

回答关注问题邀请回答
收藏

1 个回答

  • 公众号技术运营专员-livia
    公众号技术运营专员-livia
    2021-07-23

    你好,请提供下appid,完整的请求包,回包,请求时间,公众号原始ID,相关截图

    2021-07-23
    有用
    回复 4
    • 穿江轻舟
      穿江轻舟
      2021-07-23
      公众号:gh_3594232f94f5
      appId:wx9071b193f49af7ba
      请求事件:2021-07-23 11:14
      2021-07-23
      回复
    • 穿江轻舟
      穿江轻舟
      2021-07-23回复穿江轻舟
      请求报文
      2021-07-23
      回复
    • 公众号技术运营专员-livia
      公众号技术运营专员-livia
      2021-07-23回复穿江轻舟
      检查过对应的ID都是正确的吗
      2021-07-23
      回复
    • 穿江轻舟
      穿江轻舟
      2021-07-23
      您能不能看看问题? 问题不是返回的id不对。是返回的就不是图片素材。而是图文素材里面的图片。你搜“获取素材列表”几个字。有多少这个问题。2018年反馈的就有,这么解决问题这个开放社区还有什么用。
      2021-07-23
      回复
登录 后发表内容