修复从我的界面--banner点击跳转后的H5页面不跟随语言改变的问题

This commit is contained in:
老皮 2024-11-01 13:47:13 +08:00
parent ee431d0ee2
commit 619ab8a91a
2 changed files with 6 additions and 1 deletions

View File

@ -342,6 +342,11 @@ public class RouteUtil {
.withString(Constants.URL, url+"?1=1") .withString(Constants.URL, url+"?1=1")
.navigation(); .navigation();
} }
public static void forwardCustomerServiceNew(String url) {
ARouter.getInstance().build(PATH_CS)
.withString(Constants.URL, url)
.navigation();
}
/** /**
* 红包记录列表 * 红包记录列表

View File

@ -675,7 +675,7 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
if (!bean.getSlide_url().equals("")) { if (!bean.getSlide_url().equals("")) {
Constants.isTitle = true; Constants.isTitle = true;
String url = bean.getSlide_url() + "?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + (WordUtil.isNewZh() ? "1" : "0"); String url = bean.getSlide_url() + "?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + (WordUtil.isNewZh() ? "1" : "0");
RouteUtil.forwardCustomerService(url); RouteUtil.forwardCustomerServiceNew(url);
Map<String, String> map_ekv = new HashMap<String, String>(); Map<String, String> map_ekv = new HashMap<String, String>();
map_ekv.put("link", url); map_ekv.put("link", url);