Commit 0b7fdfae by 刘鹏

feat : 1.星链日志60改50 2. 信息收集卡去沟通加防止快速点击,加加载弹窗

parent cbb6b083
......@@ -5,12 +5,12 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.37",
"m-confide" : "0.0.49.38",
"m-consultant" : "0.0.60.04",
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.94",
"m-home" : "0.0.22.92",
"m-im" : "0.0.21.13",
"m-im" : "0.0.21.15",
"m-dynamic" : "0.0.7.35",
"m-article" : "0.0.0.10",
......@@ -39,7 +39,7 @@ ext {
"ydl-webview" : "0.0.38.58",
"ydl-media" : "0.0.21.42",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.58",
"m-audioim" : "0.0.49.29.59",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......@@ -88,12 +88,12 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.37",
"m-confide" : "0.0.49.38",
"m-consultant" : "0.0.60.04",
"m-fm" : "0.0.30.07",
"m-user" : "0.0.61.94",
"m-home" : "0.0.22.92",
"m-im" : "0.0.21.13",
"m-im" : "0.0.21.15",
"m-dynamic" : "0.0.7.35",
"m-article" : "0.0.0.8",
......@@ -121,7 +121,7 @@ ext {
"ydl-webview" : "0.0.38.58",
"ydl-media" : "0.0.21.42",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.58",
"m-audioim" : "0.0.49.29.59",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......
......@@ -311,7 +311,7 @@ class AudioHomeActivity :
super.onConnectionStateChanged(state, reason)
// 3 网络连接被服务器中止 该情况现在是因为后端踢人逻辑
if (reason == 3) {
callEventSave("60", "通话结束:网络连接被服务器中止 该情况现在是因为后端踢人逻辑,原因(${reason}")
callEventSave("50", "通话结束:网络连接被服务器中止 该情况现在是因为后端踢人逻辑,原因(${reason}")
writeAgoraLog("通话结束:网络连接被服务器中止 该情况现在是因为后端踢人逻辑,原因(${reason})")
AliYunRichLogsHelper.getInstance()
.sendRichLog(
......@@ -730,7 +730,7 @@ class AudioHomeActivity :
if (!isConnectSuccess) {
//关闭音乐
stopPlaying()
callEventSave("60", "未接通挂断:50s等待倒计时结束挂断")
callEventSave("80", "未接通挂断:50s等待倒计时结束挂断")
writeAgoraLog("未接通挂断:50s等待倒计时结束挂断")
AliYunRichLogsHelper.getInstance()
......@@ -1092,7 +1092,7 @@ class AudioHomeActivity :
}, {
LogUtil.d(it.message)
}, {
callEventSave("60", "倾诉时间已用完")
callEventSave("50", "倾诉时间已用完")
YDLavManager.instances.callEndStatusUpdate(channelId!!, 3, "倾诉时间已用完")
//注意:自动挂断时,如果对方离开频道的回调已经触发,就不要再重复调用接口
......
......@@ -225,6 +225,10 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
showSkipDialog()
}
tv_finish.setOnClickListener {
if (Utils.isFastClick()) {
//防止连击
return@setOnClickListener
}
ActionCountUtils.count("daoyi_consult_assess_page|go_communication_click")
skipToIm()
}
......@@ -751,6 +755,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
* */
@SuppressLint("CheckResult")
private fun skipToIm() {
showProgressDialog()
SharedPreferencesEditor.putString("skip_time_", System.currentTimeMillis().toString())
if (toUid != null) {
......@@ -823,10 +828,12 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
finish()
}, 1000L)
} else {
dismissProgressDialog()
ToastUtil.toastShort("咨询助理忙碌中,请稍后再试")
}
}, {
dismissProgressDialog()
ToastUtil.toastShort("咨询助理忙碌中,请稍后再试")
})
......@@ -905,6 +912,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
override fun finish() {
super.finish()
dismissProgressDialog()
overridePendingTransition(
R.anim.platform_activity_anim_in,
R.anim.platform_activity_anim_in
......
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