feat: 重置代码配置

This commit is contained in:
ray
2024-07-31 21:36:25 +08:00
parent d98fd689ce
commit e36b718666
2 changed files with 45 additions and 15 deletions

View File

@@ -38,6 +38,14 @@ class GeneratorAPI {
method: "get",
});
}
/** 重置代码配置 */
static resetGenConfig(tableName: string) {
return request({
url: `${GENERATOR_BASE_URL}/${tableName}/config`,
method: "delete",
});
}
}
export default GeneratorAPI;