最新需求修改中
This commit is contained in:
@@ -12,51 +12,73 @@ export function addSingleOrBatchMachine(data) {
|
||||
|
||||
//根据矿机id 删除商品矿机
|
||||
export function deleteMachine(data) {
|
||||
return request({
|
||||
url: `/lease/product/machine/delete`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
return request({
|
||||
url: `/lease/product/machine/delete`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//根据挖矿账户获取矿机列表
|
||||
//根据挖矿账户获取矿机列表
|
||||
export function getUserMachineList(data) {
|
||||
return request({
|
||||
url: `/lease/product/machine/getUserMachineList`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
return request({
|
||||
url: `/lease/product/machine/getUserMachineList`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
//根据 登录账户 获取挖矿账户及挖矿币种集合
|
||||
|
||||
//根据 登录账户 获取挖矿账户及挖矿币种集合
|
||||
export function getUserMinersList(data) {
|
||||
return request({
|
||||
url: `/lease/product/machine/getUserMinersList`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
return request({
|
||||
url: `/lease/product/machine/getUserMinersList`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//编辑矿机 + 矿机上下架
|
||||
//编辑矿机 + 矿机上下架
|
||||
export function updateMachine(data) {
|
||||
return request({
|
||||
url: `/lease/product/machine/updateMachine`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
return request({
|
||||
url: `/lease/product/machine/updateMachine`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
//获取矿机列表
|
||||
|
||||
//获取矿机列表
|
||||
export function getMachineListForUpdate(data) {
|
||||
return request({
|
||||
url: `/lease/product/machine/getMachineListForUpdate`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
return request({
|
||||
url: `/lease/product/machine/getMachineListForUpdate`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//GPU下载客户端
|
||||
export function downloadClient() {
|
||||
return request({
|
||||
url: `/lease/user/downloadClient`,
|
||||
method: 'get',
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//卖家页面---新增ASIC矿机
|
||||
export function addAsicMachine(data) {
|
||||
return request({
|
||||
url: `/lease/v2/product/machine/addAsicMachine`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user