Commit 604a245b by huangchengyi

1.0

parent 7f5c107d
Showing with 4 additions and 3 deletions
...@@ -72,15 +72,16 @@ func main() { ...@@ -72,15 +72,16 @@ func main() {
logic.LogWrite("统计项目"+mod_name+"结束:"+strconv.Itoa(k),mod_name_log,1) logic.LogWrite("统计项目"+mod_name+"结束:"+strconv.Itoa(k),mod_name_log,1)
} }
//最后关闭数据连接
d := dao.New()
d.Close() //关闭数据库连接
time.Sleep(60*time.Second) time.Sleep(60*time.Second)
} }
fmt.Println("\r\n所有任务已经完成") fmt.Println("\r\n所有任务已经完成")
} }
//最后关闭数据连接
d := dao.New()
d.Close() //关闭数据库连接
} }
//队列监听 //队列监听
......
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