gameapi-client/src/api/super/platform.js

75 lines
1.5 KiB
JavaScript
Raw Normal View History

2025-08-14 10:33:48 +08:00
import request from '@/utils/request'
// 平台列表
export function superPlatformList(query) {
return request({
url: '/super/platform/list',
method: 'get',
params: query
})
}
// 更新接口信息
export function createPlatformUpdate(data) {
2025-08-26 11:18:24 +08:00
return request({
url: '/super/platform/update',
method: 'post',
data: data
})
}
//新增接口信息
export function createPlatformAdd(data) {
return request({
url: '/super/platform/add',
method: 'post',
data: data
})
}
2025-08-14 10:33:48 +08:00
// 游戏列表
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
})
}