quanyawei
2023-09-19 7c5c458225e1e6ab32bba352c5efd33c6a78f023
src/utils/request.js
@@ -2,17 +2,10 @@
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 = 'http://120.26.43.34:8081/api/' //测试
const baseUrl = 'http://47.99.64.149:8081/'
// 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://121.43.179.139:8080'
// create an axios instance
// create an axios instance
const service = axios.create({
  // baseURL: 'http://47.99.64.149:8080/screen_api_v2/', // url = base url + request url
  baseURL: baseUrl,