18 lines
495 B
JavaScript
18 lines
495 B
JavaScript
import http from "@/utils/request"
|
|
export default {
|
|
index: {
|
|
get: async function() {
|
|
return await http.get('/system/index');
|
|
}
|
|
},
|
|
table: {
|
|
get: async function(name = '') {
|
|
return await http.get('/system/table/get', {
|
|
name
|
|
}, {cache:true});
|
|
},
|
|
getUpdate: async function(name = '', data=[]) {
|
|
return await http.post('/system/table/getUpdate', {name:name}, data);
|
|
}
|
|
},
|
|
} |