首頁 >後端開發 >php教程 >关于微信上传永久素材接口报错(empty news data)

关于微信上传永久素材接口报错(empty news data)

ringa_lee
ringa_lee原創
2018-05-14 13:56:115367瀏覽

https://api.weixin.qq.com/cgi-bin/material/add_news?access_token=XXX&type=thumb  
https://api.weixin.qq.com/cgi-bin/media/uploadnews?access_token=XXX  
首先这2个都是微信开发文档上的 上传图文素材接口  
我2个都使用了都报错  
{"errcode":44003,"errmsg":"empty news data hint: [QkkmMA0594ent2]"}  
POST提交的数据:  

{    
"articles": [        
{            
"thumb_media_id":"qI6_Ze_6PtV7svjolgs-rN6stStuHIjs9_DidOHaj0Q-mwvBelOXCFZiq2OsIU-p",            
"author":"xxx",            
"title":"Happy Day",            
"content_source_url":"www.qq.com",            
"content":"content",            
"digest":"digest",           
"show_cover_pic":"1"        
},        
{            
"thumb_media_id":"qI6_Ze_6PtV7svjolgs-rN6stStuHIjs9_DidOHaj0Q-mwvBelOXCFZiq2OsIU-p",            
"author":"xxx",            
"title":"Happy Day",            
"content_source_url":"www.qq.com",            
"content":"content",           
 "digest":"digest",           "
 show_cover_pic":"1"        
 }    
 ]
 }

回复讨论(解决方案)

求大神@xuzuning 

求大神@xuzuning 

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn