From 0d1ad08a2f368e5c9047af0558917317dd57b137 Mon Sep 17 00:00:00 2001 From: zhangshu <70257536+Appolli9527@users.noreply.github.com> Date: Sun, 18 Aug 2024 16:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main_program/main.go | 1 - main_program/moveData/moveDataService.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/main_program/main.go b/main_program/main.go index dc14c5a..602334d 100644 --- a/main_program/main.go +++ b/main_program/main.go @@ -47,7 +47,6 @@ func main() { if common.Dbpath != "" { dbPath = common.Dbpath } - // "D:/Work/Code/youtube_dev/youtube-golang/main_program/moveData/channel_region.xlsx" xlsxPath := common.MyEnv.MoveData.XlsxPath if common.XlsxPath != "" { xlsxPath = common.XlsxPath diff --git a/main_program/moveData/moveDataService.go b/main_program/moveData/moveDataService.go index 9b65103..01e56f9 100644 --- a/main_program/moveData/moveDataService.go +++ b/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...") 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" { m.moveVideos(sqliteDB, mysqlDB) } else if table == "DownLoadInfo" {