feat:完善信息

This commit is contained in:
henry
2021-10-13 14:35:24 +08:00
parent 21dc62ba8e
commit 8866b83cfb
16 changed files with 4728 additions and 46 deletions

View File

@ -1,7 +1,20 @@
package tools
import "SciencesServer/tools/ip"
import (
"SciencesServer/config"
"SciencesServer/lib"
"SciencesServer/tools/ip"
)
func Init() {
func initIP() {
_ = ip.Load("./file/ip_chunzhen.txt")
}
func initJSON() {
lib.LoadConfig("./file/area.json", &config.SettingAreaInfo)
}
func Init() {
initIP()
initJSON()
}