Modify: use INT represent Database port

This commit is contained in:
HFO4
2020-04-08 09:04:03 +08:00
parent 554493dea4
commit 2e43f8ed5b
3 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ type database struct {
Name string
TablePrefix string
DBFile string
Port string
Port int
}
// system 系统通用配置

View File

@@ -13,6 +13,7 @@ var RedisConfig = &redis{
var DatabaseConfig = &database{
Type: "UNSET",
DBFile: "cloudreve.db",
Port: 3306,
}
// SystemConfig 系统公用配置