mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-20 01:07:46 +08:00
修复H5关闭后跳转页面404问题
This commit is contained in:
@@ -27,7 +27,7 @@ public class ChannelH5ServiceImpl implements IChannelH5Service {
|
|||||||
map.put("status", Integer.parseInt(config.getOrDefault("status", "0")));
|
map.put("status", Integer.parseInt(config.getOrDefault("status", "0")));
|
||||||
map.put("close", Integer.parseInt(config.getOrDefault("close", "0")));
|
map.put("close", Integer.parseInt(config.getOrDefault("close", "0")));
|
||||||
map.put("url", config.getOrDefault("url", ""));
|
map.put("url", config.getOrDefault("url", ""));
|
||||||
map.put("accessLink", RequestUtil.domain()+"/mobile");
|
map.put("accessLink", RequestUtil.domain());
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ public class IndexServiceImpl implements IIndexService {
|
|||||||
h5Map.put("status", Integer.parseInt(h5Config.getOrDefault("status", "0")));
|
h5Map.put("status", Integer.parseInt(h5Config.getOrDefault("status", "0")));
|
||||||
h5Map.put("close", Integer.parseInt(h5Config.getOrDefault("close", "0")));
|
h5Map.put("close", Integer.parseInt(h5Config.getOrDefault("close", "0")));
|
||||||
h5Map.put("url", h5Config.getOrDefault("url", "0"));
|
h5Map.put("url", h5Config.getOrDefault("url", "0"));
|
||||||
h5Map.put("accessLink", RequestUtil.uri() + "/mobile");
|
h5Map.put("accessLink", RequestUtil.uri());
|
||||||
|
|
||||||
// 响应数据
|
// 响应数据
|
||||||
response.put("version", GlobalConfig.version);
|
response.put("version", GlobalConfig.version);
|
||||||
|
|||||||
Reference in New Issue
Block a user