Commit 772b5299ca610adcc9652b437ca64c21c8437933

Authored by 陆恒
1 parent bd38425e

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/jsonconf/jsonconf.go
@@ -39,7 +39,7 @@ func file_get_contents(path string) ([]byte, error) { @@ -39,7 +39,7 @@ func file_get_contents(path string) ([]byte, error) {
39 func LoadJsonConf() error { 39 func LoadJsonConf() error {
40 //pconf := &GameConfig{} 40 //pconf := &GameConfig{}
41 //加载第一个配置 41 //加载第一个配置
42 - path := "./AchievementConfig.json" 42 + path := "../jsonconf/AchievementConfig.json"
43 content, err := file_get_contents(path) 43 content, err := file_get_contents(path)
44 if err != nil { 44 if err != nil {
45 logger.Info("loadJsonConf failed1,err=%v", err) 45 logger.Info("loadJsonConf failed1,err=%v", err)