Commit e3a0a231 authored by xieyishang's avatar xieyishang

addxx

parent 081a78b4
cjcode/src/assets/news/qrcode.png

1.72 KB | W: | H:

cjcode/src/assets/news/qrcode.png

1.6 KB | W: | H:

cjcode/src/assets/news/qrcode.png
cjcode/src/assets/news/qrcode.png
cjcode/src/assets/news/qrcode.png
cjcode/src/assets/news/qrcode.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -8,16 +8,7 @@
import { Message } from 'element-ui'
// 环境的切换
/* if (process.env.NODE_ENV == 'development') {
axios.defaults.baseURL = '/api';
} else if (process.env.NODE_ENV == 'debug') {
axios.defaults.baseURL = '';
} else if (process.env.NODE_ENV == 'production') {
axios.defaults.baseURL = 'https://tj.jxlld.com/Wxapp/';
} */
// axios.defaults.baseURL = 'https://zxluma.jxdsy.cn/api/';
// axios.defaults.baseURL = 'https://zxluma.jxdsy.cn/api/';
// axios.defaults.baseURL = 'https://luma.jxdsy.cn/api/';
......@@ -36,16 +27,11 @@
// 即使本地存在token,也有可能token是过期的,所以在响应拦截器中要对返回状态进行判断
// const token = store.state.token;
// token && (config.headers.Authorization = token);
//rd3_sessionkey: MTU4ODM5NDk1Mmx6VnFWZEsxUDdJeW1NanJOejZt
//console.info(config,"config");
return config;
},
error => {
return Promise.error(error);
})
// 响应拦截器
axios.interceptors.response.use(
response => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment