fix:多平台兼容
This commit is contained in:
@@ -50,13 +50,14 @@ export const transformDeviceData = (device) => {
|
||||
}
|
||||
|
||||
// 立即租借
|
||||
export const rentPowerBank = (deviceNo, phone) => {
|
||||
export const rentPowerBank = (deviceNo, phone,payway) => {
|
||||
return request({
|
||||
url: `/app/device/rentPowerBank?deviceNo=${deviceNo}`,
|
||||
method: 'post',
|
||||
data: {
|
||||
// deviceNo,
|
||||
phone
|
||||
phone,
|
||||
payway
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user