import { GET_SIG } from '../utils/apiList' import { request, Response } from '../utils/http' interface SingResType { expire: number, sdkAppId: number, sign: string, } type RoomDetailRes = Response & { data: SingResType } export const getRTCSig = async (userId: string): Promise => { const res = await request.get(GET_SIG, { userId }) return res.data }