package com.red.circle.other.inner.endpoint.live.api;


import com.red.circle.framework.dto.PageResult;
import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.other.inner.model.cmd.live.MikeTypePropsQryCmd;
import com.red.circle.other.inner.model.dto.live.RoomMikeTypeDTO;
import java.util.Map;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 房间贡献，余额.
 *
 * @author pengliang on 2023/7/24
 */
public interface RoomMikeTypeClientApi {

  String API_PREFIX = "/room-mike-type/client";

  @PostMapping("/pageRoomMikeTypeList")
  ResultResponse<PageResult<RoomMikeTypeDTO>> pageRoomMikeTypeList(
      @RequestBody MikeTypePropsQryCmd query);

  @GetMapping("/getMikeTypeByType")
  ResultResponse<Map<String, String>> getMikeTypeByType(
      @RequestParam("sysOrigin") String sysOrigin);
}
