Commit 6f71c519 by 刘鹏

fix: 私聊中查看咨询师,会出现系统错误问题修复,bugId=12139

parent 7b4a756d
......@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.01",
"m-user" : "0.0.61.18",
"m-home" : "0.0.22.55",
"m-im" : "0.0.18.40",
"m-im" : "0.0.18.41",
"m-dynamic" : "0.0.7.19",
"m-article" : "0.0.0.6",
......
......@@ -757,20 +757,22 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
*/
private void skip2ExpertHome() {
// 跳转到专家主页
String junmpurl = ImIn.INSTANCE.getExpertHost() + docInfo.doctorId;
String share_title = docInfo.name + "咨询工作室";
String share_head = docInfo.cover;
String share_context = "";
String share_url = ImIn.INSTANCE.getShareExpertHost() + docInfo.doctorId;
H5Params h5Params = new H5Params(junmpurl, null);
if (!TextUtils.isEmpty(share_url)) {
ShareData shareData1 = new ShareData(junmpurl, share_title, share_head, share_context);
h5Params.setShareData(shareData1);
}
h5Params.setShowMenu(true);
if (mActivity != null) {
NewH5Activity.start(mActivity, h5Params);
if (docInfo.doctorId != null) {
String junmpurl = ImIn.INSTANCE.getExpertHost() + docInfo.doctorId;
String share_title = docInfo.name + "咨询工作室";
String share_head = docInfo.cover;
String share_context = "";
String share_url = ImIn.INSTANCE.getShareExpertHost() + docInfo.doctorId;
H5Params h5Params = new H5Params(junmpurl, null);
if (!TextUtils.isEmpty(share_url)) {
ShareData shareData1 = new ShareData(junmpurl, share_title, share_head, share_context);
h5Params.setShareData(shareData1);
}
h5Params.setShowMenu(true);
if (mActivity != null) {
NewH5Activity.start(mActivity, h5Params);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment