fix(生成代码): 新增数据源的显示

This commit is contained in:
Zhu
2025-04-24 15:47:04 +08:00
parent 25239c32cb
commit 00f5c882e2
2 changed files with 25 additions and 2 deletions

View File

@@ -74,3 +74,11 @@ export function synchDb(tableName) {
method: 'get'
})
}
// 查询数据源列表
export function listDataSource() {
return request({
url: '/tool/gen/getDataNames',
method: 'get',
});
}