fix: issues

This commit is contained in:
Rogee
2024-12-20 20:53:35 +08:00
parent 8ff0f683c1
commit 66d031fa13
4 changed files with 2 additions and 40 deletions

View File

@@ -45,7 +45,7 @@ func commandGenRouteE(cmd *cobra.Command, args []string) error {
routes := []route.RouteDefinition{}
modulePath := filepath.Join(path, "modules")
modulePath := filepath.Join(path, "app/http")
if _, err := os.Stat(modulePath); os.IsNotExist(err) {
log.Fatal("modules dir not exist, ", modulePath)
}