Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
0b7fdfae
Commit
0b7fdfae
authored
Mar 31, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 1.星链日志60改50 2. 信息收集卡去沟通加防止快速点击,加加载弹窗
parent
cbb6b083
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
config.gradle
config.gradle
+6
-6
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+3
-3
CmsExamQuestionPaperActivity.kt
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
+8
-0
No files found.
config.gradle
View file @
0b7fdfae
...
...
@@ -5,12 +5,12 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.3
7
"
,
"m-confide"
:
"0.0.49.3
8
"
,
"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.1
3
"
,
"m-im"
:
"0.0.21.1
5
"
,
"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.5
8
"
,
"m-audioim"
:
"0.0.49.29.5
9
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
...
...
@@ -88,12 +88,12 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.3
7
"
,
"m-confide"
:
"0.0.49.3
8
"
,
"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.1
3
"
,
"m-im"
:
"0.0.21.1
5
"
,
"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.5
8
"
,
"m-audioim"
:
"0.0.49.29.5
9
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
0b7fdfae
...
...
@@ -311,7 +311,7 @@ class AudioHomeActivity :
super
.
onConnectionStateChanged
(
state
,
reason
)
// 3 网络连接被服务器中止 该情况现在是因为后端踢人逻辑
if
(
reason
==
3
)
{
callEventSave
(
"
6
0"
,
"通话结束:网络连接被服务器中止 该情况现在是因为后端踢人逻辑,原因(${reason}"
)
callEventSave
(
"
5
0"
,
"通话结束:网络连接被服务器中止 该情况现在是因为后端踢人逻辑,原因(${reason}"
)
writeAgoraLog
(
"通话结束:网络连接被服务器中止 该情况现在是因为后端踢人逻辑,原因(${reason})"
)
AliYunRichLogsHelper
.
getInstance
()
.
sendRichLog
(
...
...
@@ -730,7 +730,7 @@ class AudioHomeActivity :
if
(!
isConnectSuccess
)
{
//关闭音乐
stopPlaying
()
callEventSave
(
"
6
0"
,
"未接通挂断:50s等待倒计时结束挂断"
)
callEventSave
(
"
8
0"
,
"未接通挂断:50s等待倒计时结束挂断"
)
writeAgoraLog
(
"未接通挂断:50s等待倒计时结束挂断"
)
AliYunRichLogsHelper
.
getInstance
()
...
...
@@ -1092,7 +1092,7 @@ class AudioHomeActivity :
},
{
LogUtil
.
d
(
it
.
message
)
},
{
callEventSave
(
"
6
0"
,
"倾诉时间已用完"
)
callEventSave
(
"
5
0"
,
"倾诉时间已用完"
)
YDLavManager
.
instances
.
callEndStatusUpdate
(
channelId
!!
,
3
,
"倾诉时间已用完"
)
//注意:自动挂断时,如果对方离开频道的回调已经触发,就不要再重复调用接口
...
...
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
View file @
0b7fdfae
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment