|
|
@ -8,7 +8,7 @@ export function listBuilding(query) { |
|
|
|
.map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`) |
|
|
|
.join('&'); |
|
|
|
|
|
|
|
return fetch(`/mz/building/list?${queryString}`, { |
|
|
|
return fetch(`/mz-api/mz/building/list?${queryString}`, { |
|
|
|
headers: { |
|
|
|
'Authorization': 'Bearer ' + getToken(), |
|
|
|
'Content-Type': 'application/json;charset=utf-8' |
|
|
|