diff --git a/src/api/tool/gen/index.ts b/src/api/tool/gen/index.ts index a7c523e..193ee94 100644 --- a/src/api/tool/gen/index.ts +++ b/src/api/tool/gen/index.ts @@ -64,14 +64,6 @@ export const delTable = (tableId: string | number | Array) => { }); }; -// 生成代码(自定义路径) -export const genCode = (tableId: string | number) => { - return request({ - url: '/tool/gen/genCode/' + tableId, - method: 'get' - }); -}; - // 同步数据库 export const synchDb = (tableId: string | number) => { return request({ diff --git a/src/api/tool/gen/types.ts b/src/api/tool/gen/types.ts index bc1d0e3..234dbdd 100644 --- a/src/api/tool/gen/types.ts +++ b/src/api/tool/gen/types.ts @@ -11,8 +11,6 @@ export interface TableVO extends BaseEntity { businessName: string; functionName: string; functionAuthor: string; - genType: string; - genPath: string; pkColumn?: any; columns?: any; options?: any; @@ -87,8 +85,6 @@ export interface DbTableVO { businessName?: any; functionName?: any; functionAuthor?: any; - genType?: any; - genPath?: any; pkColumn?: any; columns: DbColumnVO[]; options?: any; @@ -190,8 +186,6 @@ export interface DbTableForm extends BaseEntity { businessName: string; functionName: string; functionAuthor: string; - genType: string; - genPath: string; pkColumn?: any; columns: DbColumnForm[]; options: string; diff --git a/src/views/tool/gen/genInfoForm.vue b/src/views/tool/gen/genInfoForm.vue index 668f5dd..db80fd5 100644 --- a/src/views/tool/gen/genInfoForm.vue +++ b/src/views/tool/gen/genInfoForm.vue @@ -82,44 +82,6 @@ - - - - zip压缩包 - 自定义路径 - - - - - - - - - - -

增强选项

diff --git a/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue index 4044155..00bf928 100644 --- a/src/views/tool/gen/index.vue +++ b/src/views/tool/gen/index.vue @@ -192,7 +192,7 @@