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