A
This commit is contained in:
@@ -223,7 +223,8 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
|||||||
// }
|
// }
|
||||||
else if (id == R.id.me_dress_up){//个性装扮
|
else if (id == R.id.me_dress_up){//个性装扮
|
||||||
startActivity(new Intent(getContext(), PersonalityActivity.class));
|
startActivity(new Intent(getContext(), PersonalityActivity.class));
|
||||||
} else if (id == R.id.tv_my_bb) {
|
}
|
||||||
|
else if (id == R.id.tv_my_bb) {
|
||||||
//我的背包
|
//我的背包
|
||||||
startActivity(new Intent(getContext(), MyBagActivity.class));
|
startActivity(new Intent(getContext(), MyBagActivity.class));
|
||||||
} else if (id==R.id.me_daily) {//每日任务
|
} else if (id==R.id.me_daily) {//每日任务
|
||||||
@@ -237,20 +238,16 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
|||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}else if (id == R.id.me_my_dan){//等级
|
}else if (id == R.id.me_my_dan){//等级
|
||||||
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
||||||
intent.putExtra("url", CommonAppContext.getInstance().getCurrentEnvironment().getH5Url() + "/web/index.html#/pages/other/grade?id=" + SpUtil.getToken());
|
|
||||||
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_GRADE_URL(),SpUtil.getToken()));
|
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_GRADE_URL(),SpUtil.getToken()));
|
||||||
intent.putExtra("title", "等级");
|
intent.putExtra("title", "等级");
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}else if (id == R.id.ll_me_help){//反馈
|
}else if (id == R.id.ll_me_help){//反馈
|
||||||
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
||||||
intent.putExtra("url", CommonAppContext.getInstance().getCurrentEnvironment().getH5Url() + "/web/index.html#/pages/feedback/help?id=" + SpUtil.getToken());
|
|
||||||
// intent.putExtra("url", "http://192.168.110.17:8080/web/index.html#/pages/feedback/help?id=" + SpUtil.getToken());
|
|
||||||
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_HELP_URL(), SpUtil.getToken()));
|
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_HELP_URL(), SpUtil.getToken()));
|
||||||
intent.putExtra("title", "反馈");
|
intent.putExtra("title", "反馈");
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}else if (id == R.id.iv_hb){//邀请
|
}else if (id == R.id.iv_hb){//邀请
|
||||||
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
||||||
intent.putExtra("url", CommonAppContext.getInstance().getCurrentEnvironment().getH5Url() + "/web/index.html#/pages/other/income?id=" + SpUtil.getToken());
|
|
||||||
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_INVITATION_URL(),SpUtil.getToken()));
|
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_INVITATION_URL(),SpUtil.getToken()));
|
||||||
intent.putExtra("title", "邀请");
|
intent.putExtra("title", "邀请");
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
@@ -261,7 +258,6 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
|||||||
}else if (id==R.id.ll_me_income){
|
}else if (id==R.id.ll_me_income){
|
||||||
String appId = CommonAppContext.getInstance().getCurrentEnvironment().getWxAppId(); // 填移动应用(App)的 AppId
|
String appId = CommonAppContext.getInstance().getCurrentEnvironment().getWxAppId(); // 填移动应用(App)的 AppId
|
||||||
IWXAPI api = WXAPIFactory.createWXAPI(getContext(), appId);
|
IWXAPI api = WXAPIFactory.createWXAPI(getContext(), appId);
|
||||||
|
|
||||||
// 判断当前版本是否支持拉起客服会话
|
// 判断当前版本是否支持拉起客服会话
|
||||||
WXOpenCustomerServiceChat.Req req = new WXOpenCustomerServiceChat.Req();
|
WXOpenCustomerServiceChat.Req req = new WXOpenCustomerServiceChat.Req();
|
||||||
req.corpId = "ww1de4300858c0b461"; // 企业ID
|
req.corpId = "ww1de4300858c0b461"; // 企业ID
|
||||||
|
|||||||
Reference in New Issue
Block a user