Skip to content

Commit 35738cf

Browse files
committed
add autoMoveFilePath 字段,修改utils的fileoperations.go-> file_operations.go
1 parent e749ada commit 35738cf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

server/service/sys_auto_code.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ import (
1212
)
1313

1414
type tplData struct {
15-
template *template.Template
16-
locationPath string
17-
autoCodePath string
15+
template *template.Template
16+
locationPath string
17+
autoCodePath string
18+
autoMoveFilePath string
1819
}
1920

2021
// @title CreateTemp

server/utils/fileoperations.go renamed to server/utils/file_operations.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import (
88
"path/filepath"
99
)
1010

11-
// package fileOperations use File Operations
12-
1311
// fileMove: 文件移动
1412
// src: 源位置 需要传入绝对路径
1513
// dst: 目标位置 需要传入绝对路径

0 commit comments

Comments
 (0)