Commit bd09437a by 曾经

续费 不调用请求

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