mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-05 19:41:44 +08:00
[更新]修改文件描述
This commit is contained in:
parent
dc84dd274f
commit
c37d42b994
@ -58,7 +58,7 @@ class Media extends WeChat
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增临时素材
|
||||
* 新增图文素材
|
||||
* @param array $data 文件名称
|
||||
* @return array
|
||||
* @throws Exceptions\LocalCacheException
|
||||
@ -72,7 +72,7 @@ class Media extends WeChat
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增临时素材
|
||||
* 更新图文素材
|
||||
* @param string $media_id 要修改的图文消息的id
|
||||
* @param int $index 要更新的文章在图文消息中的位置(多图文消息时,此字段才有意义),第一篇为0
|
||||
* @param array $news 文章内容
|
||||
|
@ -59,6 +59,9 @@ class Menu extends WeChat
|
||||
*/
|
||||
public function create(array $data)
|
||||
{
|
||||
try {
|
||||
} catch (\Exception $e) {
|
||||
}
|
||||
$url = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
|
||||
$this->registerApi($url, __FUNCTION__, func_get_args());
|
||||
return $this->httpPostForJson($url, $data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user