fix:修复快递归还异常bug
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// export const URL = "https://my.gxfs123.com/api" //正式服务器
|
||||
export const URL = "https://fansdev.gxfs123.com/api" //测试服务器
|
||||
// export const URL = "http://192.168.5.22:8080" //本地调试
|
||||
// export const URL = "http://192.168.169.66:8080" //本地调试
|
||||
// export const URL = "http://127.0.0.1:8080" //本地调试
|
||||
|
||||
export const appid = "wx2165f0be356ae7a9" //小程序appid
|
||||
+3
-3
@@ -109,10 +109,10 @@ export const overOrderById = (orderId) => {
|
||||
//立即租借
|
||||
export const rentPowerBank = (deviceNo, phone) => {
|
||||
return request({
|
||||
url: '/app/device/rentPowerBank',
|
||||
url: `/app/device/rentPowerBank?deviceNo=${deviceNo}`,
|
||||
method: 'post',
|
||||
data: {
|
||||
deviceNo,
|
||||
// deviceNo,
|
||||
phone
|
||||
}
|
||||
})
|
||||
@@ -210,7 +210,7 @@ export const getPotionsDetail = (data) => {
|
||||
export const uploadOssResource = (filePath) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
uni.uploadFile({
|
||||
url: URL + '/resource/oss/upload',
|
||||
url: URL + '/manager/upload',
|
||||
filePath,
|
||||
name: 'file',
|
||||
header: {
|
||||
|
||||
Reference in New Issue
Block a user