Flatten nested repos
This commit is contained in:
23
test/vuex/one-queue-fo/api/summary.js
Normal file
23
test/vuex/one-queue-fo/api/summary.js
Normal file
@@ -0,0 +1,23 @@
|
||||
// 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
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user