|
@@ -4,8 +4,7 @@ import { showFailToast } from 'vant';
|
|
|
import { token } from '~/store/index'
|
|
|
|
|
|
const _request = axios.create({
|
|
|
- // baseURL: window.GLOBAL_CONFIG.api,
|
|
|
- baseURL:"https://jsonplaceholder.typicode.com",
|
|
|
+ baseURL: window.GLOBAL_CONFIG.api,
|
|
|
timeout: 3 * 1000,
|
|
|
headers: {
|
|
|
'Content-Type': 'application/x-www-form-urlencoded',
|