发布于 4年前

[ EasyWechat 4.1 文档 ] 公众号——评论数据管理

打开已群发文章评论

$app->comment->open($msgId, $index = null);

关闭已群发文章评论

$app->comment->close($msgId, $index = null);

查看指定文章的评论数据

$app->comment->list(string $msgId, int $index, int $begin, int $count, int $type = 0);

将评论标记精选

$app->comment->markElect(string $msgId, int $index, int $commentId);

将评论取消精选

$app->comment->unmarkElect(string $msgId, int $index, int $commentId);

删除评论

$app->comment->delete(string $msgId, int $index, int $commentId);

回复评论

$app->comment->reply(string $msgId, int $index, int $commentId, string $content);

删除回复

$app->comment->deleteReply(string $msgId, int $index, int $commentId);
©2020 edoou.com   京ICP备16001874号-3