mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-14 11:05:06 +08:00
1. 完成代码生成的表和字段定义的编辑
2. 清理多余代码
This commit is contained in:
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 获得表定义分页
|
||||
export function getCodeGenTablePage(query) {
|
||||
return request({
|
||||
url: '/tool/codegen/page',
|
||||
url: '/tool/codegen/table/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@ -16,3 +16,12 @@ export function getCodeGenDetail(tableId) {
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 修改代码生成信息
|
||||
export function updateCodegen(data) {
|
||||
return request({
|
||||
url: '/tool/codegen/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
@ -9,23 +9,6 @@ export function listDbTable(query) {
|
||||
})
|
||||
}
|
||||
|
||||
// 查询表详细信息
|
||||
export function getGenTable(tableId) {
|
||||
return request({
|
||||
url: '/tool/gen/' + tableId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 修改代码生成信息
|
||||
export function updateGenTable(data) {
|
||||
return request({
|
||||
url: '/tool/gen',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 导入表
|
||||
export function importTable(data) {
|
||||
return request({
|
||||
|
Reference in New Issue
Block a user