修复H5关闭后跳转页面404问题

This commit is contained in:
TinyAnts 2022-09-16 10:09:56 +08:00
parent 61eec8bb1c
commit bdf1303854
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ public class ChannelH5ServiceImpl implements IChannelH5Service {
map.put("status", Integer.parseInt(config.getOrDefault("status", "0")));
map.put("close", Integer.parseInt(config.getOrDefault("close", "0")));
map.put("url", config.getOrDefault("url", ""));
map.put("accessLink", RequestUtil.domain()+"/mobile");
map.put("accessLink", RequestUtil.domain());
return map;
}

View File

@ -151,7 +151,7 @@ public class IndexServiceImpl implements IIndexService {
h5Map.put("status", Integer.parseInt(h5Config.getOrDefault("status", "0")));
h5Map.put("close", Integer.parseInt(h5Config.getOrDefault("close", "0")));
h5Map.put("url", h5Config.getOrDefault("url", "0"));
h5Map.put("accessLink", RequestUtil.uri() + "/mobile");
h5Map.put("accessLink", RequestUtil.uri());
// 响应数据
response.put("version", GlobalConfig.version);