您的浏览器已禁用 JavaScript。
跳过导航链接
cn.binarywang.wx.miniapp.api.impl

类 WxMaLiveMemberServiceImpl

    • 方法概要

      所有方法
      限定符和类型 方法和说明
      String addRole (String username, int role)
      1.设置成员角色 调用此接口设置小程序直播成员的管理员、运营者和主播角色 调用额度:10000次/一天 请求URL : https://api.weixin.qq.com/wxaapi/broadcast/role/addrole?
      String deleteRole (String username, int role)
      2.解除成员角色 调用此接口移除小程序直播成员的管理员、运营者和主播角色 调用额度:10000次/一天 请求URL:https://api.weixin.qq.com/wxaapi/broadcast/role/deleterole?
      com.google.gson.JsonArray listByRole (Integer role, Integer offset, Integer limit, String keyword)
      3.查询成员列表 调用此接口查询小程序直播成员列表 调用额度:10000次/一天 请求URL:https://api.weixin.qq.com/wxaapi/broadcast/role/getrolelist?
    • 构造器详细资料

      • WxMaLiveMemberServiceImpl

        public WxMaLiveMemberServiceImpl()
    • 方法详细资料

      • addRole

        public String addRole(String username,
         int role)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveMemberService
        1.设置成员角色 调用此接口设置小程序直播成员的管理员、运营者和主播角色 调用额度:10000次/一天 请求URL : https://api.weixin.qq.com/wxaapi/broadcast/role/addrole?access_token=
        指定者:
        addRole 在接口中 WxMaLiveMemberService
        参数:
        username - 用户的微信号
        role - 设置用户的角色,取值[1-管理员,2-主播,3-运营者],设置超级管理员将无效
        返回:
        the string
        抛出:
        WxErrorException - the wx error exception
      • deleteRole

        public String deleteRole(String username,
         int role)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveMemberService
        2.解除成员角色 调用此接口移除小程序直播成员的管理员、运营者和主播角色 调用额度:10000次/一天 请求URL:https://api.weixin.qq.com/wxaapi/broadcast/role/deleterole?access_token=
        指定者:
        deleteRole 在接口中 WxMaLiveMemberService
        参数:
        username - 用户的微信号
        role - 设置用户的角色,取值[1-管理员,2-主播,3-运营者],设置超级管理员将无效
        返回:
        the string
        抛出:
        WxErrorException - the wx error exception
      • listByRole

        public com.google.gson.JsonArray listByRole(Integer role,
         Integer offset,
         Integer limit,
         String keyword)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveMemberService
        3.查询成员列表 调用此接口查询小程序直播成员列表 调用额度:10000次/一天 请求URL:https://api.weixin.qq.com/wxaapi/broadcast/role/getrolelist?access_token=
        指定者:
        listByRole 在接口中 WxMaLiveMemberService
        参数:
        role - 查询的用户角色,取值 [-1-所有成员, 0-超级管理员,1-管理员,2-主播,3-运营者],默认-1
        offset - 起始偏移量, 默认0
        limit - 查询个数,最大30,默认10
        keyword - 搜索的微信号或昵称,不传则返回全部
        返回:
        . json array
        抛出:
        WxErrorException - the wx error exception
跳过导航链接

Copyright © 2024. All rights reserved.

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