80b25105 by simon

no message

1 parent 1a792bc3
...@@ -124,7 +124,7 @@ export const httpGet = params => { ...@@ -124,7 +124,7 @@ export const httpGet = params => {
124 }, { 124 }, {
125 headers, 125 headers,
126 opt 126 opt
127 }).then(res => res.data); 127 }).then(res => res.data.content);
128 } 128 }
129 129
130 /** 130 /**
...@@ -150,7 +150,7 @@ export const httpPost = params => { ...@@ -150,7 +150,7 @@ export const httpPost = params => {
150 return axios.post(reqUrl, data, { 150 return axios.post(reqUrl, data, {
151 headers, 151 headers,
152 opt 152 opt
153 }).then(res => res.data); 153 }).then(res => res.data.content);
154 } 154 }
155 155
156 156
...@@ -174,5 +174,5 @@ export const formdata = params => { ...@@ -174,5 +174,5 @@ export const formdata = params => {
174 config = {} 174 config = {}
175 } 175 }
176 config.header = formDataHeaders.headers 176 config.header = formDataHeaders.headers
177 return axios.post(`${base}${url}`, data, config).then(res => res.data); 177 return axios.post(`${base}${url}`, data, config).then(res => res.data.content);
178 } 178 }
...\ No newline at end of file ...\ No newline at end of file
......