add clear
This commit is contained in:
@@ -132,7 +132,7 @@ class Material extends AfficialAccount
|
||||
* @return mixed
|
||||
* @throws Exception
|
||||
*/
|
||||
public function getMaterial(string $media_id)
|
||||
public function getMaterial($media_id)
|
||||
{
|
||||
$this->request->setHost('api.weixin.qq.com');
|
||||
$this->request->setErrorField('errcode');
|
||||
@@ -154,7 +154,7 @@ class Material extends AfficialAccount
|
||||
* @return mixed
|
||||
* @throws Exception
|
||||
*/
|
||||
public function delMaterial(string $media_id)
|
||||
public function delMaterial($media_id)
|
||||
{
|
||||
$this->request->setHost('api.weixin.qq.com');
|
||||
$this->request->setErrorField('errcode');
|
||||
@@ -172,13 +172,13 @@ class Material extends AfficialAccount
|
||||
|
||||
/**
|
||||
* declare
|
||||
* @param string $media_id
|
||||
* @param $media_id
|
||||
* @param int $index
|
||||
* @param array $articles
|
||||
* @return mixed
|
||||
* @throws Exception
|
||||
*/
|
||||
public function modifyNewsMaterial(string $media_id, int $index, array $articles)
|
||||
public function modifyNewsMaterial($media_id, int $index, array $articles)
|
||||
{
|
||||
$this->request->setHost('api.weixin.qq.com');
|
||||
$this->request->setErrorField('errcode');
|
||||
@@ -227,11 +227,11 @@ class Material extends AfficialAccount
|
||||
* declare
|
||||
* @param int $offset
|
||||
* @param int $size
|
||||
* @param string $type
|
||||
* @param $type
|
||||
* @return mixed
|
||||
* @throws Exception
|
||||
*/
|
||||
public function getMaterialList(int $offset, int $size, string $type)
|
||||
public function getMaterialList(int $offset, int $size, $type)
|
||||
{
|
||||
$this->request->setHost('api.weixin.qq.com');
|
||||
$this->request->setErrorField('errcode');
|
||||
|
||||
Reference in New Issue
Block a user