目录优化

This commit is contained in:
hahwu 2026-01-06 16:30:17 +08:00
parent c660ca2ff9
commit 44c1192ae0
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ func _downloadFile(headers map[string]string, url string) ([]byte, error) {
if err != nil {
return nil, err
}
targetDir := "D:/Github/docs/config"
targetDir := "/data/docs/config"
if err := os.MkdirAll(targetDir, 0755); err != nil {
return nil, err
}

View File

@ -97,7 +97,7 @@ func CopywritingStep2(c *gin.Context) {
}
func CopywritingStep3(c *gin.Context) {
file := `D:\Github\docs\config\DialogueData.xlsx`
file := `/data/docs/config/DialogueData.xlsx`
f, err := excelize.OpenFile(file)
if err != nil {
failed(c, "打开文件失败: "+err.Error())