import request from '@/utils/request' // 平台列表 export function superPlatformList(query) { return request({ url: '/super/platform/list', method: 'get', params: query }) } // 更新接口信息 export function createPlatformUpdate(data) { return request({ url: '/super/platform/update', method: 'post', data: data }) } //新增接口信息 export function createPlatformAdd(data) { return request({ url: '/super/platform/add', method: 'post', data: data }) } // 游戏列表 export function superGameList(query) { return request({ url: '/super/game/list', method: 'get', params: query }) } // 更新游戏 export function createGameuUpdate(data) { return request({ url: '/super/game/update', method: 'put', data: data }) } // 详情 export function getSuperPlatformInf(Id) { return request({ url: '/super/platform/' + Id, method: 'get' }) } // 平台状态 export function createPlatformSwitch(data) { return request({ url: '/super/platform/switch', method: 'post', data: data }) } export function getPlatformShowSelect(query) { return request({ url: '/super/common/platform/show/select', method: 'get', params: query }) } //货币修改 export function updatePlatformCurrency(data) { return request({ url: '/super/platform/currency/update', method: 'post', data: data }) }