fix:修复bug
This commit is contained in:
@@ -60,34 +60,3 @@ export const rentPowerBank = (deviceNo, phone) => {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 确认支付并弹出风扇
|
||||
export const confirmPaymentAndRent = (orderId) => {
|
||||
console.log(`确认支付并弹出风扇, orderId: ${orderId}`)
|
||||
return request({
|
||||
url: `/app/device/confirmPaymentAndRent?orderId=${orderId}`,
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
// 强制打开空格子
|
||||
export const forcefOpenEmptyGrid = (deviceNo) => {
|
||||
console.log(`强制打开空格子, deviceNo: ${deviceNo}`)
|
||||
return request({
|
||||
url: `/app/device/forcef/${deviceNo}`,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 发送租借指令
|
||||
export const sendRentCommand = (data) => {
|
||||
return request({
|
||||
url: '/app/device/sendRentCommand',
|
||||
method: 'post',
|
||||
data,
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user