修复:我的页面我的等修改只想新页面,优化:修改加入直播间报错

This commit is contained in:
18401019693 2022-12-13 14:30:21 +08:00
parent 7ed4043a1f
commit ce0061e86e
3 changed files with 32 additions and 31 deletions

View File

@ -5,7 +5,7 @@ ext {
minSdkVersion : 21, minSdkVersion : 21,
targetSdkVersion : 31, targetSdkVersion : 31,
versionCode : 310, versionCode : 310,
versionName : "6.4.5" versionName : "6.4.6"
] ]
manifestPlaceholders = [ manifestPlaceholders = [
// //

View File

@ -90,7 +90,7 @@ public class SocketRyClient {
@Override @Override
public void onError(IRongCoreEnum.CoreErrorCode coreErrorCode) { public void onError(IRongCoreEnum.CoreErrorCode coreErrorCode) {
Log.i("tx", "加入" + "失败" + coreErrorCode); Log.i("tx", "加入" + "失败" + coreErrorCode);
ToastUtil.show(coreErrorCode + ":加入失败"); ToastUtil.show("網絡不佳無法連接,請重新進入");
} }
}); });

View File

@ -343,8 +343,8 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
tv_level.setOnClickListener(new View.OnClickListener() { tv_level.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Level&a=index" + "&token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid() + "&for"; String url = CommonAppConfig.HOST + "/h5/Grade/index.html?" + "token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid() + "&for";
WebViewActivity.forward(mContext, url); ZhuangBanActivity.forward(mContext, url);
} }
}); });
tv_level.setText(anchorLevelBean.getLevel() + ""); tv_level.setText(anchorLevelBean.getLevel() + "");
@ -358,8 +358,8 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
tv_level.setOnClickListener(new View.OnClickListener() { tv_level.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
String url = CommonAppConfig.HOST + "/index.php?g=Appapi&m=Level&a=index" + "&token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid(); String url = CommonAppConfig.HOST + "/h5/Grade/index.html?" + "token=" + CommonAppConfig.getInstance().getToken() + "&uid=" + CommonAppConfig.getInstance().getUid();
WebViewActivity.forward(mContext, url); ZhuangBanActivity.forward(mContext, url);
} }
}); });
tv_level.setText(levelBean.getLevel() + ""); tv_level.setText(levelBean.getLevel() + "");
@ -606,3 +606,4 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
} }
} }