master
修改密码漏洞修复完成 8 months ago
parent f4969a41f7
commit 65536e1742

@ -2,7 +2,9 @@ appname = weather
ServerName = "beego"
#runmode = dev
runmode = prod
httpport = 8084
#mysqluser = "root"
#mysqlpass = "Skyinno251,"
#mysqlurls = "192.168.5.21:3306"
@ -21,8 +23,13 @@ syncFrequencyWeather = "0 16 * * * *"
mysqluser = "root"
mysqlpass = "Skyinno251,"
mysqlurls = "192.168.2.18:3306"
mysqlurls = "127.0.0.1:3306"
mysqldb = "weather"
# mysqlurls = "192.168.2.18:3306"
mysqlparams = "charset=utf8mb4&parseTime=True&loc=Local"
#连接池空闲
mysqlmaxIdle = 10

@ -1,9 +1,32 @@
module weather
go 1.16
go 1.24.1
require github.com/astaxie/beego v1.12.3
require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/golang/protobuf v1.4.2 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.7.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/procfs v0.1.3 // indirect
github.com/sirupsen/logrus v1.4.2 // indirect
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect
golang.org/x/text v0.3.6 // indirect
google.golang.org/protobuf v1.23.0 // indirect
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
require (
github.com/denisenkom/go-mssqldb v0.12.3 // indirect
github.com/go-sql-driver/mysql v1.6.0

Loading…
Cancel
Save