- 通过接口提交永久素材,返回成功,却查询不到素材?
我通过curl命令:curl -F media=@C:\ALiYun测试网络服务端\Debug\20200721\0320000798D863B887BA_144421.mp3 "https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=35_MJEuqw4cjTBdW_ka1pfH3vJ8vowcxF2tJFDN7KkHzvP-aBts4nmA2VQl7poddXsEaHzVLHsqB2boTCh6F7NZR2lRvMBsCl8c-HMSP7G7G--KYhl-dI6BIMDGlCh-Dsw537ROub92YzNMPN3-KWNcAAABNE&type=voice"把语音文件上传到了微信公众号的永久素材库中, 微信公众号返回一个Media_id:{"media_id":"_vwOaATvkPgGff2uTvSqanLHdoBTvYf0lfZR1EoP4oM","item":[]} 但是我通过这个Media_id查询: https://api.weixin.qq.com/cgi-bin/material/get_material?access_token=35_MJEuqw4cjTBdW_ka1pfH3vJ8vowcxF2tJFDN7KkHzvP-aBts4nmA2VQl7poddXsEaHzVLHsqB2boTCh6F7NZR2lRvMBsCl8c-HMSP7G7G--KYhl-dI6BIMDGlCh-Dsw537ROub92YzNMPN3-KWNcAAABNE { "media_id" : "_vwOaATvkPgGff2uTvSqanLHdoBTvYf0lfZR1EoP4oM" } 返回的查询结果却是:{"errcode":40007,"errmsg":"invalid media_id hint: [ejn8Ya0867d139]"}
2020-07-21 - 微信公众号新增永久素材(语音素材),curl命令已成功,返回也提示成功,微信公众号中没有素材内容
上传永久素材的接口返回数据为:{"media_id":"_vwOaATvkPgGff2uTvSqavqqHQGPHlf5I5WXZKrc1Lk","item":[]}; 这是上传的语音文件与media_id的对应关系表存储的数据[图片]
2020-07-20