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

类 WxMaLiveServiceImpl

    • 方法概要

      所有方法
      限定符和类型 方法和说明
      boolean addAssistant (Integer roomId, List<WxMaLiveAssistantInfo> users)
      添加管理直播间小助手 调用接口往指定直播间添加管理直播间小助手 调用频率 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/addassistant?
      boolean addGoodsToRoom (Integer roomId, List<Integer> goodsIds)
      直播间导入商品 调用接口往指定直播间导入已入库的商品 调用频率 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/addgoods?
      boolean addSubanchor (Integer roomId, String username)
      添加主播副号 调用接口添加主播副号 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/addsubanchor?
      WxMaCreateRoomResult createRoom (WxMaLiveRoomInfo roomInfo)
      创建直播间 调用此接口创建直播间,创建成功后将在直播间列表展示,调用额度:10000次/一天 文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#1 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/create?
      boolean deleteInRoom (Integer roomId, Integer goodsId)
      删除直播间商品 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/deleteInRoom?
      boolean deleteRoom (Integer roomId)
      删除直播间 调用额度:10000次/一天 文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#5 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/deleteroom?
      boolean deleteSubanchor (Integer roomId)
      删除主播副号 调用频率: 10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/deletesubanchor?
      boolean editRoom (WxMaLiveRoomInfo roomInfo)
      编辑直播间 调用此接口编辑直播间,调用额度:10000次/一天 文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#6 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/editroom?
      List<WxMaAssistantResult.Assistant> getAssistantList (Integer roomId)
      查询直播间小助手 查询直播间小助手 调用频率 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/getassistantlist?
      WxMaLiveResult getLiveInfo (Integer start, Integer limit)
      获取直播房间列表.
      List<WxMaLiveResult.RoomInfo> getLiveInfos ()
      获取所有直播间信息(没有分页直接获取全部)
      WxMaLiveResult getLiveReplay (Integer roomId, Integer start, Integer limit)
      获取直播房间回放数据信息.
      WxMaLiveResult getLiveReplay (String action, Integer roomId, Integer start, Integer limit)
      获取直播房间回放数据信息.
      String getPushUrl (Integer roomId)
      获取直播间推流地址 调用额度:10000次/一天 文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#7 http请求方式:GET https://api.weixin.qq.com/wxaapi/broadcast/room/getpushurl?
      WxMaLiveSharedCode getSharedCode (Integer roomId, String params)
      获取直播间分享二维码 调用额度:10000次/一天 文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#8 http请求方式:GET https://api.weixin.qq.com/wxaapi/broadcast/room/getsharedcode?
      String getSubanchor (Integer roomId)
      获取主播副号 调用额度:10000次/一天 http请求方式:GET https://api.weixin.qq.com/wxaapi/broadcast/room/getsubanchor?
      String getVideo (Integer roomId, Integer goodsId)
      下载商品讲解视频 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/getVideo?
      boolean modifyAssistant (Integer roomId, String username, String nickname)
      修改直播间小助手昵称 调用接口修改直播间小助手昵称 调用频率 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/modifyassistant?
      boolean modifySubanchor (Integer roomId, String username)
      修改主播副号 调用接口修改主播副号 调用频率: 10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/modifyassistant?
      boolean onsale (Integer roomId, Integer goodsId, Integer onSale)
      上下架商品 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/onsale?
      boolean push (Integer roomId, Integer goodsId)
      推送商品 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/push?
      boolean removeAssistant (Integer roomId, String username)
      删除直播间小助手 删除直播间小助手 调用频率 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/removeassistant?
      boolean sort (Integer roomId, List<Map<String,String>> goods)
      直播间商品排序 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/sort?
      boolean updatecomment (Integer roomId, Integer banComment)
      开启/关闭直播间全局禁言 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/updatecomment?
      boolean updatefeedpublic (Integer roomId, Integer isFeedsPublic)
      开启/关闭直播间官方收录 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/updatefeedpublic?
      boolean updatekf (Integer roomId, Integer closeKf)
      开启/关闭客服功能 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/updatekf?
      boolean updatereplay (Integer roomId, Integer closeReplay)
      开启/关闭回放功能 调用额度:10000次/一天 http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/updatereplay?
    • 构造器详细资料

      • WxMaLiveServiceImpl

        public WxMaLiveServiceImpl()
    • 方法详细资料

      • createRoom

        public WxMaCreateRoomResult createRoom(WxMaLiveRoomInfo roomInfo)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        创建直播间
         调用此接口创建直播间,创建成功后将在直播间列表展示,调用额度:10000次/一天
         文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#1
         http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/create?access_token=ACCESS_TOKEN
         
        指定者:
        createRoom 在接口中 WxMaLiveService
        参数:
        roomInfo - 直播间信息
        返回:
        .
        抛出:
        WxErrorException - .
      • deleteRoom

        public boolean deleteRoom(Integer roomId)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        删除直播间
         调用额度:10000次/一天
         文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#5
         http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/deleteroom?access_token=ACCESS_TOKEN
         
        指定者:
        deleteRoom 在接口中 WxMaLiveService
        参数:
        roomId - 直播间id
        返回:
        .
        抛出:
        WxErrorException - .
      • editRoom

        public boolean editRoom(WxMaLiveRoomInfo roomInfo)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        编辑直播间
         调用此接口编辑直播间,调用额度:10000次/一天
         文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#6
         http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/editroom?access_token=ACCESS_TOKEN
         
        指定者:
        editRoom 在接口中 WxMaLiveService
        参数:
        roomInfo - 直播间信息
        返回:
        .
        抛出:
        WxErrorException - .
      • getPushUrl

        public String getPushUrl(Integer roomId)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        获取直播间推流地址
         调用额度:10000次/一天
         文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#7
         http请求方式:GET https://api.weixin.qq.com/wxaapi/broadcast/room/getpushurl?access_token=ACCESS_TOKEN
         
        指定者:
        getPushUrl 在接口中 WxMaLiveService
        参数:
        roomId - 直播间id
        返回:
        .
        抛出:
        WxErrorException - .
      • getSharedCode

        public WxMaLiveSharedCode getSharedCode(Integer roomId,
         String params)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        获取直播间分享二维码
         调用额度:10000次/一天
         文档地址:https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html#8
         http请求方式:GET https://api.weixin.qq.com/wxaapi/broadcast/room/getsharedcode?access_token=ACCESS_TOKEN
         
        指定者:
        getSharedCode 在接口中 WxMaLiveService
        参数:
        roomId - 直播间id
        返回:
        .
        抛出:
        WxErrorException - .
      • addGoodsToRoom

        public boolean addGoodsToRoom(Integer roomId,
         List<Integer> goodsIds)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        直播间导入商品

        调用接口往指定直播间导入已入库的商品 调用频率 调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/addgoods?access_token=ACCESS_TOKEN

        指定者:
        addGoodsToRoom 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        goodsIds - 数组列表,可传入多个,里面填写 商品 ID
        返回:
        导入商品是否成功
        抛出:
        WxErrorException - .
      • addAssistant

        public boolean addAssistant(Integer roomId,
         List<WxMaLiveAssistantInfo> users)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        添加管理直播间小助手

        调用接口往指定直播间添加管理直播间小助手 调用频率 调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/addassistant?access_token=ACCESS_TOKEN

        指定者:
        addAssistant 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        users - 数组列表,可传入多个,"users": [{"username":"testwechat","nickname":"testnick"}]
        返回:
        添加管理直播间小助手是否成功
        抛出:
        WxErrorException - .
      • modifyAssistant

        public boolean modifyAssistant(Integer roomId,
         String username,
         String nickname)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        修改直播间小助手昵称

        调用接口修改直播间小助手昵称 调用频率 调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/modifyassistant?access_token=ACCESS_TOKEN

        指定者:
        modifyAssistant 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        username - 小助手微信号
        nickname - 小助手直播间昵称
        返回:
        修改小助手昵称是否成功
        抛出:
        WxErrorException - .
      • removeAssistant

        public boolean removeAssistant(Integer roomId,
         String username)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        删除直播间小助手

        删除直播间小助手 调用频率 调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/removeassistant?access_token=ACCESS_TOKEN

        指定者:
        removeAssistant 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        username - 小助手微信号
        返回:
        删除小助手昵称是否成功
        抛出:
        WxErrorException - .
      • addSubanchor

        public boolean addSubanchor(Integer roomId,
         String username)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        添加主播副号

        调用接口添加主播副号

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/addsubanchor?access_token=ACCESS_TOKEN

        指定者:
        addSubanchor 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        username - 用户微信号
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • modifySubanchor

        public boolean modifySubanchor(Integer roomId,
         String username)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        修改主播副号

        调用接口修改主播副号

        调用频率: 10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/modifyassistant?access_token=ACCESS_TOKEN

        指定者:
        modifySubanchor 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        username - 小助手微信号
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • deleteSubanchor

        public boolean deleteSubanchor(Integer roomId)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        删除主播副号

        调用频率: 10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/deletesubanchor?access_token=ACCESS_TOKEN

        指定者:
        deleteSubanchor 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • updatefeedpublic

        public boolean updatefeedpublic(Integer roomId,
         Integer isFeedsPublic)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        开启/关闭直播间官方收录

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/updatefeedpublic?access_token=ACCESS_TOKEN

        指定者:
        updatefeedpublic 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        isFeedsPublic - 是否开启官方收录 【1: 开启,0:关闭】
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • updatereplay

        public boolean updatereplay(Integer roomId,
         Integer closeReplay)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        开启/关闭回放功能

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/updatereplay?access_token=ACCESS_TOKEN

        指定者:
        updatereplay 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        closeReplay - 是否关闭回放 【0:开启,1:关闭】
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • updatekf

        public boolean updatekf(Integer roomId,
         Integer closeKf)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        开启/关闭客服功能

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/updatekf?access_token=ACCESS_TOKEN

        指定者:
        updatekf 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        closeKf - 是否关闭客服 【0:开启,1:关闭】
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • updatecomment

        public boolean updatecomment(Integer roomId,
         Integer banComment)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        开启/关闭直播间全局禁言

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/room/updatecomment?access_token=ACCESS_TOKEN

        指定者:
        updatecomment 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        banComment - 1-禁言,0-取消禁言
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • onsale

        public boolean onsale(Integer roomId,
         Integer goodsId,
         Integer onSale)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        上下架商品

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/onsale?access_token=ACCESS_TOKEN

        指定者:
        onsale 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        goodsId - 商品ID
        onSale - 上下架 【0:下架,1:上架】
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • deleteInRoom

        public boolean deleteInRoom(Integer roomId,
         Integer goodsId)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        删除直播间商品

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/deleteInRoom?access_token=ACCESS_TOKEN

        指定者:
        deleteInRoom 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        goodsId - 商品ID
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • push

        public boolean push(Integer roomId,
         Integer goodsId)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        推送商品

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/push?access_token=ACCESS_TOKEN

        指定者:
        push 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        goodsId - 商品ID
        返回:
        是否成功
        抛出:
        WxErrorException - .
      • sort

        public boolean sort(Integer roomId,
         List<Map<String,String>> goods)
         throws WxErrorException 
        从接口复制的说明: WxMaLiveService
        直播间商品排序

        调用额度:10000次/一天

        http请求方式:POST https://api.weixin.qq.com/wxaapi/broadcast/goods/sort?access_token=ACCESS_TOKEN

        指定者:
        sort 在接口中 WxMaLiveService
        参数:
        roomId - 房间ID
        goods - 商品ID列表, 例如: [{"goodsId":"123"}, {"goodsId":"234"}]
        返回:
        是否成功
        抛出:
        WxErrorException - .
跳过导航链接

Copyright © 2024. All rights reserved.

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