您的浏览器已禁用 JavaScript。
跳过导航链接
me.chanjar.weixin.mp.api.impl

类 WxMpCommentServiceImpl

    • 构造器详细资料

      • WxMpCommentServiceImpl

        public WxMpCommentServiceImpl()
    • 方法详细资料

      • open

        public void open(String msgDataId,
         Integer index)
         throws WxErrorException 
        从接口复制的说明: WxMpCommentService
        打开已群发文章评论. https://api.weixin.qq.com/cgi-bin/comment/open?access_token=ACCESS_TOKEN
        指定者:
        open 在接口中 WxMpCommentService
        参数:
        msgDataId - 群发返回的msg_data_id
        index - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文
        抛出:
        WxErrorException - 异常
      • close

        public void close(String msgDataId,
         Integer index)
         throws WxErrorException 
        从接口复制的说明: WxMpCommentService
        关闭已群发文章评论. https://api.weixin.qq.com/cgi-bin/comment/close?access_token=ACCESS_TOKEN
        指定者:
        close 在接口中 WxMpCommentService
        参数:
        msgDataId - 群发返回的msg_data_id
        index - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文
        抛出:
        WxErrorException - 异常
      • list

        public WxMpCommentListVo list(String msgDataId,
         Integer index,
         int begin,
         int count,
         int type)
         throws WxErrorException 
        从接口复制的说明: WxMpCommentService
        查看指定文章的评论数据. https://api.weixin.qq.com/cgi-bin/comment/list?access_token=ACCESS_TOKEN
        指定者:
        list 在接口中 WxMpCommentService
        参数:
        msgDataId - 群发返回的msg_data_id
        index - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文
        begin - 起始位置
        count - 获取数目(>=50会被拒绝)
        type - type=0 普通评论&精选评论 type=1 普通评论 type=2 精选评论
        返回:
        评论列表数据 wx mp comment list vo
        抛出:
        WxErrorException - 异常
      • markElect

        public void markElect(String msgDataId,
         Integer index,
         Long userCommentId)
         throws WxErrorException 
        从接口复制的说明: WxMpCommentService
        2.4 将评论标记精选. 接口调用请求: POST https://api.weixin.qq.com/cgi-bin/comment/markelect?access_token=ACCESS_TOKEN
        指定者:
        markElect 在接口中 WxMpCommentService
        参数:
        msgDataId - 群发返回的msg_data_id
        index - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文
        userCommentId - 用户评论id
        抛出:
        WxErrorException - 异常
      • unmarkElect

        public void unmarkElect(String msgDataId,
         Integer index,
         Long userCommentId)
         throws WxErrorException 
        从接口复制的说明: WxMpCommentService
        2.5 将评论取消精选. 接口调用请求: POST https://api.weixin.qq.com/cgi-bin/comment/unmarkelect?access_token=ACCESS_TOKEN
        指定者:
        unmarkElect 在接口中 WxMpCommentService
        参数:
        msgDataId - 群发返回的msg_data_id
        index - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文
        userCommentId - 用户评论id
        抛出:
        WxErrorException - 异常
      • delete

        public void delete(String msgDataId,
         Integer index,
         Long userCommentId)
         throws WxErrorException 
        从接口复制的说明: WxMpCommentService
        2.6 删除评论. 接口调用请求: POST https://api.weixin.qq.com/cgi-bin/comment/delete?access_token=ACCESS_TOKEN
        指定者:
        delete 在接口中 WxMpCommentService
        参数:
        msgDataId - 群发返回的msg_data_id
        index - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文
        userCommentId - 用户评论id
        抛出:
        WxErrorException - 异常
      • replyAdd

        public void replyAdd(String msgDataId,
         Integer index,
         Long userCommentId,
         String content)
         throws WxErrorException 
        从接口复制的说明: WxMpCommentService
        2.7 回复评论. 接口调用请求: POST https://api.weixin.qq.com/cgi-bin/comment/reply/add?access_token=ACCESS_TOKEN
        指定者:
        replyAdd 在接口中 WxMpCommentService
        参数:
        msgDataId - 群发返回的msg_data_id
        index - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文
        userCommentId - 用户评论id
        content - 回复内容
        抛出:
        WxErrorException - 异常
      • replyDelete

        public void replyDelete(String msgDataId,
         Integer index,
         Long userCommentId)
         throws WxErrorException 
        从接口复制的说明: WxMpCommentService
        2.8 删除回复. 接口调用请求: POST https://api.weixin.qq.com/cgi-bin/comment/reply/delete?access_token=ACCESS_TOKEN
        指定者:
        replyDelete 在接口中 WxMpCommentService
        参数:
        msgDataId - 群发返回的msg_data_id
        index - 多图文时,用来指定第几篇图文,从0开始,不带默认操作该msg_data_id的第一篇图文
        userCommentId - 用户评论id
        抛出:
        WxErrorException - 异常
跳过导航链接

Copyright © 2024. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /