数据库错误操作优化

This commit is contained in:
hoteas 2022-08-20 11:20:03 +08:00
parent 78420a692f
commit c55e26021b
2 changed files with 4 additions and 6 deletions

View File

@ -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"
} }
}, },

View File

@ -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{})
} }