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
3918d80b
Commit
3918d80b
authored
Jul 21, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:1. 去掉err 0 18上传, 2. 解决线上字段空异常问题 3. 立即咨询快速点击问题
parent
4d50155e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
8 deletions
+17
-8
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+4
-1
ConfideHomeEventImpl.kt
m-confide/src/main/java/com/ydl/confide/home/event/ConfideHomeEventImpl.kt
+9
-7
YDLMessageFragment.java
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
+4
-0
No files found.
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
3918d80b
...
...
@@ -315,7 +315,10 @@ class AudioHomeActivity :
//110:生成的 Token 无效
//123:此用户被服务器禁止
LogUtil
.
e
(
"[agora]发生错误回调$err"
)
YDLavManager
.
instances
.
callEndStatusUpdate
(
channelId
!!
,
4
,
"频道的错误回调信息$err"
)
if
(
err
==
0
||
err
==
18
)
{
return
}
channelId
?.
let
{
YDLavManager
.
instances
.
callEndStatusUpdate
(
it
,
4
,
"频道的错误回调信息$err"
)
}
}
override
fun
onApiCallExecuted
(
error
:
Int
,
api
:
String
?,
result
:
String
?)
{
...
...
m-confide/src/main/java/com/ydl/confide/home/event/ConfideHomeEventImpl.kt
View file @
3918d80b
...
...
@@ -133,13 +133,15 @@ class ConfideHomeEventImpl(context: Context, var confideHomeView: IConfideHomeCo
* @param linkUrl 跳转地址
*/
override
fun
consultantClick
(
doctorId
:
String
?,
confideId
:
String
?,
uid
:
String
?,
listenFree
:
Boolean
?,
expertUrl
:
String
?)
{
confideId
?.
let
{
ConfideBottomSheetDialogFragment
()
.
showBottomSheetDialog
(
mContext
as
FragmentActivity
,
HttpConfig
.
MH5_URL
+
ConfideRoute
.
h5ConfideIntro
(
it
),
doctorId
!!
,
uid
=
uid
,
listenFree
=
listenFree
?:
false
,
expertUrl
=
expertUrl
?:
""
)
doctorId
?.
let
{
doctorId
->
confideId
?.
let
{
confideId
->
ConfideBottomSheetDialogFragment
()
.
showBottomSheetDialog
(
mContext
as
FragmentActivity
,
HttpConfig
.
MH5_URL
+
ConfideRoute
.
h5ConfideIntro
(
confideId
),
doctorId
,
uid
=
uid
,
listenFree
=
listenFree
?:
false
,
expertUrl
=
expertUrl
?:
""
)
}
}
}
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
View file @
3918d80b
...
...
@@ -936,6 +936,10 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
@SuppressLint
(
"CheckResult"
)
private
void
initMenu
()
{
rela_zixun
.
setOnClickListener
(
view
->
{
if
(
Utils
.
isFastClick
())
{
//防止连击
return
;
}
if
(
sessionId
!=
null
&&
ActionHandlerStorage
.
getL
(
sessionId
)
!=
null
&&
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
()
!=
null
)
{
if
(
serviceItemBeanList
==
null
||
serviceItemBeanList
.
size
()
==
0
)
{
ServiceImpl
.
Companion
.
getInstance
().
serviceList
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorId
)
...
...
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