80b25105 by simon

no message

1 parent 1a792bc3
......@@ -124,7 +124,7 @@ export const httpGet = params => {
}, {
headers,
opt
}).then(res => res.data);
}).then(res => res.data.content);
}
/**
......@@ -150,7 +150,7 @@ export const httpPost = params => {
return axios.post(reqUrl, data, {
headers,
opt
}).then(res => res.data);
}).then(res => res.data.content);
}
......@@ -174,5 +174,5 @@ export const formdata = params => {
config = {}
}
config.header = formDataHeaders.headers
return axios.post(`${base}${url}`, data, config).then(res => res.data);
return axios.post(`${base}${url}`, data, config).then(res => res.data.content);
}
\ No newline at end of file
......