FlowPacs/ruoyi-ui/src/api/tool/codegen.js

19 lines
376 B
JavaScript
Raw Normal View History

2021-02-09 15:55:54 +08:00
import request from '@/utils/request'
2021-02-09 22:14:01 +08:00
// 获得表定义分页
export function getCodeGenTablePage(query) {
return request({
url: '/tool/codegen/page',
method: 'get',
params: query
})
}
// 获得表和字段的明细
export function getCodeGenDetail(tableId) {
return request({
url: '/tool/codegen/detail?tableId=' + tableId,
method: 'get',
})
}