refactor: 统一API路径前缀并更新静态资源域名
- 将所有API路径从'/v2/miniprogram'统一为'/miniprogram' - 更新静态资源域名从'http://jm.v0750.com'到'https://jm-static.v0750.com' - 在utils/login.js中设置统一的baseUrl为'https://t-jm.v0750.com/v3' - 移除不再使用的initial_url和baseUrl配置项
This commit is contained in:
@@ -37,8 +37,8 @@ Page({
|
||||
wx.showLoading({
|
||||
title: '提交中...'
|
||||
})
|
||||
|
||||
t.request('/v2/miniprogram/user/onlineCarHailing', { mobile }, !0).then((res) => {
|
||||
|
||||
t.request('/miniprogram/user/onlineCarHailing', { mobile }, !0).then((res) => {
|
||||
wx.hideLoading()
|
||||
if (res.code == 200) {
|
||||
wx.showToast({
|
||||
|
||||
Reference in New Issue
Block a user