Commit 21cbab9e by lzzzzl

删除测试输出

parent 5ae80e46
Showing with 2 additions and 4 deletions
...@@ -83,8 +83,6 @@ func RunMainTask(remainCount int, configDir string) { ...@@ -83,8 +83,6 @@ func RunMainTask(remainCount int, configDir string) {
colDb = db.GetDB(collectDbConn) colDb = db.GetDB(collectDbConn)
res, err := colDb.Queryx(sql) res, err := colDb.Queryx(sql)
fmt.Println(sql)
if err != nil { if err != nil {
ding.Send(util.Configs.Ding_msg.Webhook, "SEO推送", "查询主站ID任务失败,原因:"+err.Error(), ding.Send(util.Configs.Ding_msg.Webhook, "SEO推送", "查询主站ID任务失败,原因:"+err.Error(),
mobile, isAtAll) mobile, isAtAll)
......
...@@ -80,10 +80,10 @@ func RunMipTask(remainCount int, configDir string) { ...@@ -80,10 +80,10 @@ func RunMipTask(remainCount int, configDir string) {
var cdCount, _ = strconv.Atoi(collectDbCount) var cdCount, _ = strconv.Atoi(collectDbCount)
var sql = colsql.MipSQL(collectCode, tableIndex, cdCount, cdCount+remainCount) var sql = colsql.MipSQL(collectCode, tableIndex, cdCount, cdCount+remainCount)
colDb = db.GetDB(collectDbConn) colDb = db.GetDB(collectDbConn)
fmt.Println(collectDbConn + "---" + sql) //fmt.Println(collectDbConn + "---" + sql)
res, err := colDb.Queryx(sql) res, err := colDb.Queryx(sql)
fmt.Println(sql) //fmt.Println(sql)
if err != nil { if err != nil {
ding.Send(util.Configs.Ding_msg.Webhook, "SEO推送", "查询MIP_ID任务失败,原因:"+err.Error(), ding.Send(util.Configs.Ding_msg.Webhook, "SEO推送", "查询MIP_ID任务失败,原因:"+err.Error(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment