This commit is contained in:
yuping
2022-12-14 17:28:19 +08:00
parent 2f56b80c2e
commit 879c25196c

View File

@@ -87,7 +87,7 @@ export async function request(_url, params) {
'X-Token': localStorage.getItem('token'),
...method !== 'get' ? {'Content-Type': 'application/json'} : {}
},
baseURL: '/manageApi-release/',
baseURL: '/manageApi-release',
...method !== 'get' ? {data: JSON.stringify(body)} : {}
}).then(resp => resp.data).then(response => {
if (response.code !== 200 && response.code !== 0) {