def add_articles(self, articles):
articles_data = []<EOL>for article in articles:<EOL><INDENT>articles_data.append({<EOL>'<STR_LIT>': article['<STR_LIT>'],<EOL>'<STR_LIT:title>': article['<STR_LIT:title>'],<EOL>'<STR_LIT:content>': article['<STR_LIT:content>'],<EOL>'<STR_LIT>': article.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>': article.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>': article.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>': article.get('<STR_LIT>', <NUM_LIT:0>)<EOL>})<EOL><DEDENT>return self._post(<EOL>'<STR_LIT>',<EOL>data={<EOL>"<STR_LIT>": {<EOL>"<STR_LIT>": articles_data<EOL>}<EOL>}<EOL>)<EOL>
新增永久图文素材
详情请参考
https://qydev.weixin.qq.com/wiki/index.php?title=%E4%B8%8A%E4%BC%A0%E6%B0%B8%E4%B9%85%E7%B4%A0%E6%9D%90

:param articles: 图文素材数组
:return: 返回的 JSON 数据包