更新最新ACS

This commit is contained in:
USER-20220102CG\noblelift
2023-03-21 20:24:04 +08:00
parent e181a4a6e7
commit c5077035c1
1456 changed files with 144839 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
import request from '@/utils/request'
export function getAllTable() {
return request({
url: 'api/generator/tables/all',
method: 'get'
})
}
export function generator(tableName, type) {
return request({
url: 'api/generator/' + tableName + '/' + type,
method: 'post',
responseType: type === 2 ? 'blob' : ''
})
}
export function save(data) {
return request({
url: 'api/generator',
data,
method: 'put'
})
}
export function sync(tables) {
return request({
url: 'api/generator/sync',
method: 'post',
data: tables
})
}