12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- import { requestApi } from '../util/network'
- export const getLiveList =
- (data) =>
- requestApi(
- '/live/get_live_list',
- 'POST',
- data
- )
- export const getMiniproLiveList =
- (data) =>
- requestApi(
- '/live/get_minipro_live_list',
- 'POST',
- data
- )
- export const getLiveInfo =
- (live_apply_id) =>
- requestApi(
- '/member_live/get_live_info',
- 'POST',
- {
- 'live_apply_id': live_apply_id
- },
- 'member'
- )
- export const joinLive =
- (live_apply_id, client_id) =>
- requestApi(
- '/member_live/join_live',
- 'POST',
- {
- 'live_apply_id': live_apply_id,
- 'client_id': client_id
- },
- 'member'
- )
- export const leaveLive =
- (live_apply_id, client_id) =>
- requestApi(
- '/member_live/leave_live',
- 'POST',
- {
- 'live_apply_id': live_apply_id,
- 'client_id': client_id
- },
- 'member'
- )
- export const addLike =
- (live_apply_id) =>
- requestApi(
- '/member_live/add_like',
- 'POST',
- {
- 'live_apply_id': live_apply_id
- },
- 'member'
- )
- export const addGift =
- (live_apply_id) =>
- requestApi(
- '/member_live/add_gift',
- 'POST',
- {
- 'live_apply_id': live_apply_id
- },
- 'member'
- )
|