shareRoom.ts 296 B

123456789101112
  1. import { WX_SHARE_USER } from '../utils/apiList'
  2. import { request, Response } from '../utils/http'
  3. export const shareRoom = async (roomId: string, userId: string): Promise<Response> => {
  4. return request.get<Response>(WX_SHARE_USER, {
  5. roomId: roomId,
  6. userId: userId
  7. })
  8. }