修复全局配置获取

This commit is contained in:
TinyAnts 2022-09-14 18:03:21 +08:00
parent c6026abb9b
commit 65fbd8a3dc
1 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,8 @@ public class IndexServiceImpl implements IIndexService {
Map<String, String> h5Config = ConfigUtil.get("h5_channel");
h5Map.put("status", Integer.parseInt(h5Config.getOrDefault("status", "0")));
h5Map.put("close", Integer.parseInt(h5Config.getOrDefault("close", "0")));
h5Map.put("url", RequestUtil.uri() + "/mobile");
h5Map.put("url", h5Config.getOrDefault("url", "0"));
h5Map.put("accessLink", RequestUtil.uri() + "/mobile");
// 响应数据
response.put("version", GlobalConfig.version);