Browse Source

清理注释

developer
zhangshu 6 months ago
parent
commit
0d1ad08a2f
  1. 1
      main_program/main.go
  2. 2
      main_program/moveData/moveDataService.go

1
main_program/main.go

@ -47,7 +47,6 @@ func main() {
if common.Dbpath != "" { if common.Dbpath != "" {
dbPath = common.Dbpath dbPath = common.Dbpath
} }
// "D:/Work/Code/youtube_dev/youtube-golang/main_program/moveData/channel_region.xlsx"
xlsxPath := common.MyEnv.MoveData.XlsxPath xlsxPath := common.MyEnv.MoveData.XlsxPath
if common.XlsxPath != "" { if common.XlsxPath != "" {
xlsxPath = common.XlsxPath xlsxPath = common.XlsxPath

2
main_program/moveData/moveDataService.go

@ -36,7 +36,7 @@ func (m *moveDataService) Start(table string, sqlitePath string, mysqlConfig con
config.Logger.Error("xlsxPath not existx...") config.Logger.Error("xlsxPath not existx...")
return return
} }
m.moveChannel(sqliteDB, mysqlDB, "D:/Work/Code/youtube_dev/youtube-golang/main_program/moveData/channel_region.xlsx") m.moveChannel(sqliteDB, mysqlDB, xlsxPath)
} else if table == "Videos" { } else if table == "Videos" {
m.moveVideos(sqliteDB, mysqlDB) m.moveVideos(sqliteDB, mysqlDB)
} else if table == "DownLoadInfo" { } else if table == "DownLoadInfo" {

Loading…
Cancel
Save