mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-22 04:43:00 +00:00
change2
This commit is contained in:
@@ -182,7 +182,7 @@ func GetColumn(tableName string, dbName string) (err error, Columns []request.Co
|
||||
//}
|
||||
|
||||
func addAutoMoveFile(data *tplData) {
|
||||
dir := filepath.Dir(data.autoCodePath)
|
||||
dir := filepath.Base(filepath.Dir(data.autoCodePath))
|
||||
base := filepath.Base(data.autoCodePath)
|
||||
if strings.Contains(data.autoCodePath, "server") {
|
||||
if strings.Contains(data.autoCodePath, "router") {
|
||||
|
||||
Reference in New Issue
Block a user