Commit 1edceb47 by YKai

feat:im组件升级

parent 153afe00
...@@ -10,7 +10,7 @@ ext { ...@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.03", "m-fm" : "0.0.30.03",
"m-user" : "0.0.61.34", "m-user" : "0.0.61.34",
"m-home" : "0.0.22.62", "m-home" : "0.0.22.62",
"m-im" : "0.0.19.17", "m-im" : "0.0.19.20",
"m-dynamic" : "0.0.7.22", "m-dynamic" : "0.0.7.22",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
...@@ -93,7 +93,7 @@ ext { ...@@ -93,7 +93,7 @@ ext {
"m-fm" : "0.0.30.01", "m-fm" : "0.0.30.01",
"m-user" : "0.0.61.34", "m-user" : "0.0.61.34",
"m-home" : "0.0.22.62", "m-home" : "0.0.22.62",
"m-im" : "0.0.19.17", "m-im" : "0.0.19.20",
"m-dynamic" : "0.0.7.22", "m-dynamic" : "0.0.7.22",
"m-article" : "0.0.0.6", "m-article" : "0.0.0.6",
......
package com.yidianling.im.session.viewholder; package com.yidianling.im.session.viewholder;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.os.Handler;
import android.text.TextUtils; import android.text.TextUtils;
import android.view.View; import android.view.View;
import android.widget.ImageView; import android.widget.ImageView;
...@@ -136,9 +137,10 @@ public class MsgViewHolderConfirmOrder extends MsgViewHolderBase { ...@@ -136,9 +137,10 @@ public class MsgViewHolderConfirmOrder extends MsgViewHolderBase {
//确认完成,按钮置灰,更新本地消息 //确认完成,按钮置灰,更新本地消息
updateLocalMsg(); updateLocalMsg();
// 跳转服务单评价页 // 跳转服务单评价页
H5Params orderParams = new H5Params(ImConstants.Companion.getPLAY_SCORE_URL() + IMChatUtil.doctorId + "/" + serviceId, null); new Handler().postDelayed(() -> {
NewH5Activity.start(context, orderParams); H5Params orderParams = new H5Params(ImConstants.Companion.getPLAY_SCORE_URL() + IMChatUtil.doctorId + "/" + serviceId, null);
NewH5Activity.start(context, orderParams);
}, 1000);
}, throwable -> }, throwable ->
ToastUtil.toastShort(throwable.getMessage()) ToastUtil.toastShort(throwable.getMessage())
); );
......
...@@ -129,9 +129,6 @@ public class MsgViewHolderOrderAlreadyDone extends MsgViewHolderBase { ...@@ -129,9 +129,6 @@ public class MsgViewHolderOrderAlreadyDone extends MsgViewHolderBase {
.subscribe(it -> { .subscribe(it -> {
//确认完成,按钮置灰,更新本地消息 //确认完成,按钮置灰,更新本地消息
updateLocalMsg(); updateLocalMsg();
// 跳转订单评价页
H5Params orderParams = new H5Params(ImConstants.Companion.getPLAY_SCORE_URL() + IMChatUtil.doctorId + "/" + orderId, null);
NewH5Activity.start(context, orderParams);
}, throwable -> }, throwable ->
ToastUtil.toastShort(throwable.getMessage()) ToastUtil.toastShort(throwable.getMessage())
); );
......
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