fetchRoom.ts 261 B

1234567891011121314
  1. import { GET_ROOM } from '../utils/apiList'
  2. import { request, Response } from '../utils/http'
  3. export const fetchRoom = async (roomId: string) => {
  4. const res = await request.get(GET_ROOM, {
  5. roomId: roomId
  6. })
  7. console.log('res', res)
  8. }