livePostMuteFlushMike static method

Future<DataResult> livePostMuteFlushMike({
  1. required int status,
  2. required int roomPlaceId,
  3. required int roomId,
})

Implementation

static Future<DataResult> livePostMuteFlushMike(
    {required int status, //1 开启 2 关闭
    required int roomPlaceId,
    required int roomId}) async {
  var res = await BaseDao.fromBaseEncryptV3(
    {
      'status': status,
      'roomPlaceId': roomPlaceId,
      'roomId': roomId,
    },
    Address.livePostFlushMike(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}