public class WxMpCommentServiceImpl extends Object implements WxMpCommentService
构造器和说明 |
---|
WxMpCommentServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
close(String msgDataId,
Integer index)
关闭已群发文章评论.
|
void |
delete(String msgDataId,
Integer index,
Long userCommentId)
2.6 删除评论.
|
WxMpCommentListVo |
list(String msgDataId,
Integer index,
int begin,
int count,
int type)
查看指定文章的评论数据.
|
void |
markElect(String msgDataId,
Integer index,
Long userCommentId)
2.4 将评论标记精选.
|
void |
open(String msgDataId,
Integer index)
打开已群发文章评论.
|
void |
replyAdd(String msgDataId,
Integer index,
Long userCommentId,
String content)
2.7 回复评论.
|
void |
replyDelete(String msgDataId,
Integer index,
Long userCommentId)
2.8 删除回复.
|
void |
unmarkElect(String msgDataId,
Integer index,
Long userCommentId)
2.5 将评论取消精选.
|
public void open(String msgDataId, Integer index) throws WxErrorException
WxMpCommentService
open
在接口中 WxMpCommentService
msgDataId
- 群发返回的msg_data_idindex
- 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文WxErrorException
- 异常public void close(String msgDataId, Integer index) throws WxErrorException
WxMpCommentService
close
在接口中 WxMpCommentService
msgDataId
- 群发返回的msg_data_idindex
- 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文WxErrorException
- 异常public WxMpCommentListVo list(String msgDataId, Integer index, int begin, int count, int type) throws WxErrorException
WxMpCommentService
list
在接口中 WxMpCommentService
msgDataId
- 群发返回的msg_data_idindex
- 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文begin
- 起始位置count
- 获取数目(>=50会被拒绝)type
- type=0 普通评论&精选评论 type=1 普通评论 type=2 精选评论WxErrorException
- 异常public void markElect(String msgDataId, Integer index, Long userCommentId) throws WxErrorException
WxMpCommentService
markElect
在接口中 WxMpCommentService
msgDataId
- 群发返回的msg_data_idindex
- 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文userCommentId
- 用户评论idWxErrorException
- 异常public void unmarkElect(String msgDataId, Integer index, Long userCommentId) throws WxErrorException
WxMpCommentService
unmarkElect
在接口中 WxMpCommentService
msgDataId
- 群发返回的msg_data_idindex
- 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文userCommentId
- 用户评论idWxErrorException
- 异常public void delete(String msgDataId, Integer index, Long userCommentId) throws WxErrorException
WxMpCommentService
delete
在接口中 WxMpCommentService
msgDataId
- 群发返回的msg_data_idindex
- 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文userCommentId
- 用户评论idWxErrorException
- 异常public void replyAdd(String msgDataId, Integer index, Long userCommentId, String content) throws WxErrorException
WxMpCommentService
replyAdd
在接口中 WxMpCommentService
msgDataId
- 群发返回的msg_data_idindex
- 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文userCommentId
- 用户评论idcontent
- 回复内容WxErrorException
- 异常public void replyDelete(String msgDataId, Integer index, Long userCommentId) throws WxErrorException
WxMpCommentService
replyDelete
在接口中 WxMpCommentService
msgDataId
- 群发返回的msg_data_idindex
- 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文userCommentId
- 用户评论idWxErrorException
- 异常Copyright © 2024. All rights reserved.