@Test
public void testCCBFocusChannel() throws IOException, NoSuchAlgorithmException {
//公共参数,填写自己的实际参数
String appId = super.appId;
String appSecret = super.appSecret;
String timestamp = String.valueOf(System.currentTimeMillis());
//业务参数
String channelId = "2731380,2750506,2737621,365032";
String url = "http://api.polyv.net/live/v4/channel/ccb/focus/reset";
//http 调用逻辑
Map<String,String> requestMap = new HashMap<>();
requestMap.put("appId", appId);
requestMap.put("timestamp",timestamp);
requestMap.put("channelIds", channelId);
requestMap.put("sign", LiveSignUtil.getSign(requestMap, appSecret));
url = MapUtil.appendUrl(url,requestMap);
String response = HttpUtil.postFormBody(url, null);
log.info("测试清空频道聊天记录接口返回值:{}",response);
}