quanyawei
2024-11-15 f752f50a484f63fc3786ab1c7ad563f3b17cce77
src/utils/request.js
@@ -2,16 +2,19 @@
import { MessageBox, Message } from 'element-ui'
import store from '@/store'
import { getToken } from '@/utils/auth'
const baseUrl = 'http://47.99.64.149:8081/'
const baseUrl = '/api'
// const baseUrl = 'http://120.26.43.34:8081/api/'
// const baseUrl = 'http://192.168.0.42:8081/' // lzj
// const baseUrl = 'http://192.168.0.33:8081/' // yy
// const baseUrl = 'http://192.168.0.25:8081' // jj
// const baseUrl = 'http://192.168.0.33:8085/'// swb
// const baseUrl = 'http://192.168.0.33:8081/' // new swb
// const baseUrl = 'http://192.168.0.28:8081/'// cjl
// const baseUrl = 'http://192.168.0.11:8081/' // new swb
// const baseUrl = 'http://47.96.171.62:8081/'//测试环境
// const baseUrl = 'http://121.43.179.139:8080'
// const baseUrl = 'http://192.168.0.33:8085/'
// const baseUrl = 'http://192.168.0.33:8081/'
// create an axios instance
const service = axios.create({
  // baseURL: 'http://47.99.64.149:8080/screen_api_v2/', // url = base url + request url