Commit b40b2996 by usual2970

添加配置文件

parent a888d351
util util
service/service service/service
spiders/pipeline/config.go
...@@ -17,7 +17,7 @@ type PipelineMysql struct { ...@@ -17,7 +17,7 @@ type PipelineMysql struct {
} }
func NewPipelineMysql() *PipelineMysql { func NewPipelineMysql() *PipelineMysql {
db, err := sql.Open("mysql", "root:123456Aa@tcp(127.0.0.1:3306)/qqxinlin?allowOldPasswords=1") db, err := sql.Open("mysql", mysqlLink)
if err != nil { if err != nil {
panic("Open database error") panic("Open database 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 to comment