diff --git a/hchyun-ui/src/api/tool/gen.js b/hchyun-ui/src/api/tool/gen.js index 4506927..0c2220b 100644 --- a/hchyun-ui/src/api/tool/gen.js +++ b/hchyun-ui/src/api/tool/gen.js @@ -74,3 +74,10 @@ export function synchDb(tableName) { method: 'get' }) } +//下载接口 +export function downloadCode(tableNames){ + return request({ + url:'/tool/gen/batchGenCode?tables=' + tableNames, + method:'get' + }) +} diff --git a/hchyun-ui/src/views/tool/gen/index.vue b/hchyun-ui/src/views/tool/gen/index.vue index 1edb9ab..69279e5 100644 --- a/hchyun-ui/src/views/tool/gen/index.vue +++ b/hchyun-ui/src/views/tool/gen/index.vue @@ -178,7 +178,7 @@