refactor: remove unused backend extensions

This commit is contained in:
fuenmao
2026-09-21 15:14:48 +08:00
parent b1a311cf84
commit 54d5c4fda3
113 changed files with 134 additions and 34309 deletions
@@ -673,16 +673,6 @@ public class SysDatabaseService : IDynamicApiController, ITransient
private static string GetEntityTargetPath(CreateEntityInput input)
{
var backendPath = Path.Combine(new DirectoryInfo(App.WebHostEnvironment.ContentRootPath).Parent.FullName, input.Position, "Entity");
//if (!Directory.Exists(backendPath))
//{
// var pluginsPath = App.GetConfig<string[]>("AppSettings:ExternalAssemblies");
// foreach (var pluginPath in pluginsPath)
// {
// backendPath = Path.Combine(new DirectoryInfo(App.WebHostEnvironment.ContentRootPath).Parent.FullName, pluginPath, input.Position, "Entity");
// if (Directory.Exists(backendPath))
// break;
// }
//}
if (!Directory.Exists(backendPath))
Directory.CreateDirectory(backendPath);
return Path.Combine(backendPath, input.EntityName + ".cs");
@@ -773,4 +763,4 @@ public class SysDatabaseService : IDynamicApiController, ITransient
FileDownloadName = backupFileName
};
}
}
}