def search_pages(self, page_ids=None, begin=<NUM_LIT:0>, count=<NUM_LIT:10>):
if not page_ids:<EOL><INDENT>data = {<EOL>'<STR_LIT:type>': <NUM_LIT:2>,<EOL>'<STR_LIT>': begin,<EOL>'<STR_LIT:count>': count<EOL>}<EOL><DEDENT>else:<EOL><INDENT>if not isinstance(page_ids, (tuple, list)):<EOL><INDENT>page_ids = [page_ids]<EOL><DEDENT>data = {<EOL>'<STR_LIT:type>': <NUM_LIT:1>,<EOL>'<STR_LIT>': page_ids<EOL>}<EOL><DEDENT>res = self._post(<EOL>'<STR_LIT>',<EOL>data=data,<EOL>result_processor=lambda x: x['<STR_LIT:data>']<EOL>)<EOL>return res<EOL>
查询页面列表
详情请参考
http://mp.weixin.qq.com/wiki/5/6626199ea8757c752046d8e46cf13251.html

:param page_ids: 指定页面的id列表
:param begin: 页面列表的起始索引值
:param count: 待查询的页面个数
:return: 页面查询结果信息