x-php-Admin/src/api/model/system.js
2023-07-17 18:22:43 +08:00

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);
}
},
}