for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the docodeit/wechat.
*
* (c) docodeit <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace JinWeChat\OfficialAccount\Appmsg;
use JinWeChat\Kernel\BaseClient;
class Client extends BaseClient
{
/**
* 图文素材列表.
* @param $begin
* @param $count
* @return \Psr\Http\Message\ResponseInterface
* @throws \JinWeChat\Kernel\Exceptions\InvalidConfigException
public function list($begin = 0, $count = 10)
$query = [
'query' => ['type' => '10',
'action' => 'list',
'begin' => $begin,
'count' => $count,
'f' => 'json',
'lang' => 'zh_CN',
'ajax' => '1',
'random' => $this->getMillisecond(),
], ];
return $this->httpGet('cgi-bin/appmsg', $query);
}