mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-14 11:22:01 +08:00
feat: 代码生成支持路径方式生成
This commit is contained in:
@@ -77,8 +77,8 @@ export function genDownload(tableId: ID) {
|
||||
}
|
||||
|
||||
// 生成代码(自定义路径)
|
||||
export function genDownloadWithPath(tableId: ID) {
|
||||
return requestClient.get(`${Api.download}/${tableId}`);
|
||||
export function genWithPath(tableId: ID) {
|
||||
return requestClient.get<void>(`${Api.genCode}/${tableId}`);
|
||||
}
|
||||
|
||||
// 同步数据库
|
||||
|
||||
Reference in New Issue
Block a user