fix: 更新API端点路径至v2版本

将/miniprogram/user/onlineCarHailing和/miniprogram/user等API端点路径更新为/v2/miniprogram/user/onlineCarHailing和/v2/miniprogram/user,以适配后端API的v2版本
This commit is contained in:
2025-06-24 17:46:29 +08:00
parent a3fcf0eac1
commit 678d35042a
9 changed files with 39 additions and 39 deletions

View File

@@ -36,7 +36,7 @@ Page({
title: '查询中...'
})
t.request('/miniprogram/Refund/query', { mobile }, !0).then((res) => {
t.request('/v2/miniprogram/Refund/query', { mobile }, !0).then((res) => {
wx.hideLoading()
if (res.code == 200) {
this.setData({
@@ -70,7 +70,7 @@ Page({
})
return
}
t.request('/miniprogram/pay/refund', {token: this.data.userInfo.token}, !0).then((res) => {
t.request('/v2/miniprogram/pay/refund', {token: this.data.userInfo.token}, !0).then((res) => {
wx.hideLoading()
if (res.code == 200) {
wx.showToast({
@@ -117,7 +117,7 @@ Page({
})
return
}
t.request('/miniprogram/pay/refundOffline', {token: this.data.userInfo.token}, !0).then((res) => {
t.request('/v2/miniprogram/pay/refundOffline', {token: this.data.userInfo.token}, !0).then((res) => {
wx.hideLoading()
if (res.code == 200) {
wx.showToast({