forked from golang/hotime
数据库错误操作优化
This commit is contained in:
parent
78420a692f
commit
c55e26021b
@ -23,11 +23,10 @@
|
|||||||
],
|
],
|
||||||
"db": {
|
"db": {
|
||||||
"mysql": {
|
"mysql": {
|
||||||
"host": "192.168.2.20",
|
"host": "192.168.6.253",
|
||||||
"name": "gov_crawler",
|
"name": "dgs-cms",
|
||||||
"password": "fh22y8b882d",
|
"password": "dasda8454456",
|
||||||
"port": "3306",
|
"port": "3306",
|
||||||
"prefix": "",
|
|
||||||
"user": "root"
|
"user": "root"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2,7 +2,6 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
. "code.hoteas.com/golang/hotime"
|
. "code.hoteas.com/golang/hotime"
|
||||||
"code.hoteas.com/golang/hotime/example/app"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -13,6 +12,6 @@ func main() {
|
|||||||
return isFinished
|
return isFinished
|
||||||
})
|
})
|
||||||
|
|
||||||
appIns.Run(Router{"app": app.AppProj})
|
appIns.Run(Router{})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user