实际开发接口

This commit is contained in:
minimaxagent1 2025-08-01 18:33:52 +08:00
parent 2f52fcfa02
commit 62cdaaa113
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,8 @@ const install = (Vue, vm) => {
// },
// });
Vue.prototype.$u.http.setConfig({
baseUrl: 'http://192.168.2.23/dev-api',
baseUrl: 'https://testlu.chuangtewl.com/prod-api',
//baseUrl: 'http://192.168.2.23/dev-api',
// baseUrl: 'https://znb.ccttiot.com',
loadingText: '努力加载中~',
loadingTime: 800,

View File

@ -54,9 +54,7 @@ Vue.prototype.wxLogin = async function(){
});
})
}
Vue.prototype.$u.http.setConfig({
baseUrl: 'http://192.168.2.7:4501'
})
// #endif

View File

@ -1,7 +1,8 @@
// 统一请求工具
import { getTempToken, shouldUseTempToken } from '@/config/dev.js'
const BASE_URL = 'http://192.168.2.7:4501'
// const BASE_URL = 'http://192.168.2.7:4501'
const BASE_URL = 'https://testlu.chuangtewl.com/prod-api'
/**
* 统一请求方法