no message
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import axios from 'axios';
|
||||
import QS from 'qs';
|
||||
import { ElMessage } from "element-plus";
|
||||
|
||||
|
||||
axios.defaults.baseURL = 'https://interviewexperience.gter.net'
|
||||
@@ -10,7 +9,7 @@ axios.defaults.withCredentials = true
|
||||
axios.interceptors.request.use( //响应拦截
|
||||
async config => {
|
||||
// 开发时登录用的,可以直接替换小程序的 authorization
|
||||
config['headers']['authorization'] = process.env.NODE_ENV !== "production" && "c1fb97e6994539d87922b1b60c09d43c"
|
||||
config['headers']['authorization'] = process.env.NODE_ENV !== "production" && "63ffbd4e4790accd31a0dafd21cd5f12"
|
||||
// config['headers']['authorization'] = "2lfrtq7h3ge634pl4ptlu2pbh2"
|
||||
return config;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user