constant.js 503 B

12345678910
  1. import { ENV } from '../../../../env'
  2. export const apiServer = ENV === 'dev' ? 'https://v4-test.4dkankan.com' : ''
  3. export const shopServer = ENV === 'dev' ? 'https://test.4dkankan.com/livestream' : ''
  4. export const socketServer = 'wss://ws.4dkankan.com'
  5. export const GET_ROOM_LIST = apiServer + '/takelook/roomList'
  6. export const GET_ROOM = apiServer + '/takelook/roomInfo'
  7. export const GET_SIG = apiServer + '/takelook/tencentYun/getSign'
  8. export const LEAVE_ROOM = apiServer + '/takelook/inOrOutRoom'