|
|
|
@ -1,5 +1,4 @@ |
|
|
|
import http from "./http"; |
|
|
|
import { baseUrl } from "../config/env"; |
|
|
|
|
|
|
|
// import qs from "qs";
|
|
|
|
// import {cache} from '@/store/store';
|
|
|
|
@ -37,8 +36,6 @@ function request(type, url, params, success, error) { |
|
|
|
var targetUrl = ""; |
|
|
|
if(isHttpLink(url)){ |
|
|
|
targetUrl = url |
|
|
|
}else{ |
|
|
|
targetUrl = baseUrl + url |
|
|
|
} |
|
|
|
let config = { |
|
|
|
method: type, |
|
|
|
|