Files
FE_CPONE/test/vuex/one-queue-fo/api/summary.js
2026-04-27 10:13:31 +07:00

24 lines
487 B
JavaScript

// API :
// search bank
// paramater : query , page , rowPerPage
const URL = "http://" + window.location.host + ":9090/";
export async function loadx() {
try {
var resp = await axios.get(URL + 'info');
if (resp.status != 200) {
return {
status: "ERR",
message: resp.statusText
};
}
let data = resp;
return data;
} catch(e) {
return {
status: "ERR",
message: e.message
};
}
}