Browse Source

change2

main
songzhibin97 4 years ago
parent
commit
e43561e0f9
  1. 2
      server/service/sys_auto_code.go

2
server/service/sys_auto_code.go

@ -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") {

Loading…
Cancel
Save