Commit bd09437a by 曾经

续费 不调用请求

parent ff4d1bdb
import axios from 'axios';
function getRequest(url, params) {
return axios({
method: 'get',
url: `${window.origin}${url}`,
data: {},
params: params,
headers: { 'content-type': 'application/x-www-form-urlencoded' } // "token": token
});
return Promise.reject({
url, params
})
// return axios({
// method: 'get',
// url: `${window.origin}${url}`,
// data: {},
// params: params,
// headers: { 'content-type': 'application/x-www-form-urlencoded' } // "token": token
// });
}
export function getAccountStateInfo() {
......
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