import { Request } from '../../utils/request'

export const GetCheckoutRoomNum = (roomNum: string) => Request({
  url: `/room/checkout?roomNum=${roomNum}`,
  method: 'get'
})
export const PostAnonLogin = (data: any) => Request({
  url: `/auth/anon-login`,
  method: 'post',
  data,
})
export const GetAgoraConf = () => Request({
  url: `/home/agora-conf`,
  method: 'get',
})
export const GetRoomRtcToken = (roomNum: string) => Request({
  url: `/room/tk/rtc?roomNum=${roomNum}`,
  method: 'get',
})
