浏览代码

Merge branch 'feature/change_open_api_url' into debug

xyxie 3 月之前
父节点
当前提交
40fda232c7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      utils/config.go

+ 3 - 0
utils/config.go

@@ -356,6 +356,9 @@ ZwIDAQAB
 			ETA_FORUM_HUB_MD5_KEY = config["eta_forum_hub_md5_key"]
 		}
 	}
+	if config["hongze_open_api_host"] != "" {
+		HongzeOpenApiHost = config["hongze_open_api_host"]
+	}
 	tmpLibreOfficePath, err := web.AppConfig.String("libreOfficePath")
 	if err != nil {
 		panic(any("配置文件读取libreOfficePath错误 " + err.Error()))