Skip to content

Commit 06bf641

Browse files
committed
fixed: 修复自动化代码路径不匹配的bug
1 parent ce76408 commit 06bf641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/service/system/auto_code_package.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ func (s *autoCodePackage) templates(ctx context.Context, entity model.SysAutoCod
564564
code[four] = create
565565
continue
566566
}
567-
create := filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.WebRoot(), "plugin", entity.PackageName, secondDirs[j].Name(), info.Abbreviation+filepath.Ext(strings.TrimSuffix(threeDirs[k].Name(), ext)))
567+
create := filepath.Join(global.GVA_CONFIG.AutoCode.Root, global.GVA_CONFIG.AutoCode.WebRoot(), "plugin", entity.PackageName, secondDirs[j].Name(), info.PackageName+filepath.Ext(strings.TrimSuffix(threeDirs[k].Name(), ext)))
568568
code[four] = create
569569
}
570570
default:

0 commit comments

Comments
 (0)