增加各种状态的新建测试单

This commit is contained in:
yml2213
2026-07-20 18:13:10 +08:00
parent ee78b80cd3
commit 24d4e76c7f
6 changed files with 47 additions and 18 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ func loadDotEnv() {
if wd, err := os.Getwd(); err == nil {
paths = append(paths,
filepath.Join(wd, ".env"),
filepath.Join(wd, "..", ".env"), // 在 backend/ 下启动时读仓库根 .env
filepath.Join(wd, "backend", ".env"), // 在仓库根启动时
filepath.Join(wd, "..", ".env"), // 在 backend/ 下启动时读仓库根 .env
filepath.Join(wd, "backend", ".env"), // 在仓库根启动时
)
}
paths = append(paths, ".env")