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
b136eb3e
Commit
b136eb3e
authored
Mar 17, 2021
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:m-confide组件升级
parent
224fedd0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
config.gradle
config.gradle
+2
-2
ConfdieServiceImpl.kt
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfdieServiceImpl.kt
+0
-4
ConfideWebServiceImpl.kt
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfideWebServiceImpl.kt
+8
-0
No files found.
config.gradle
View file @
b136eb3e
...
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.0
0
"
,
"m-confide"
:
"0.0.49.0
1
"
,
"m-consultant"
:
"0.0.59.65"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.10"
,
...
...
@@ -88,7 +88,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.0
0
"
,
"m-confide"
:
"0.0.49.0
1
"
,
"m-consultant"
:
"0.0.59.65"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.10"
,
...
...
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfdieServiceImpl.kt
View file @
b136eb3e
...
...
@@ -52,10 +52,6 @@ class ConfdieServiceImpl : IConfideService {
}
override
fun
connectionJava
(
id
:
Int
,
type
:
Int
,
activity
:
Activity
,
tellData
:
String
?,
callType
:
String
?)
{
if
(!
RxSPTool
.
getBoolean
(
BaseApp
.
getApp
(),
YDLavManager
.
IS_ONLINE_RTM
)){
ToastUtil
.
toastShort
(
"网络通话错误代码001"
)
return
}
val
myTellData
:
TellData
?
=
if
(
tellData
==
null
)
null
else
Gson
().
fromJson
(
tellData
,
TellData
::
class
.
java
)
ConfideWebServiceImpl
().
connectionJava
(
id
,
type
,
activity
,
myTellData
,
callType
)
}
...
...
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfideWebServiceImpl.kt
View file @
b136eb3e
...
...
@@ -7,6 +7,7 @@ import android.net.Uri
import
android.text.TextUtils
import
com.alibaba.android.arouter.launcher.ARouter
import
com.ydl.audioim.IntentConstants
import
com.ydl.audioim.YDLavManager
import
com.ydl.audioim.bean.ExpertInfoBean
import
com.ydl.audioim.widget.AxbConfirmDialog
import
com.ydl.confide.home.bean.ConnectParamJava
...
...
@@ -16,9 +17,12 @@ import com.ydl.confide.home.util.ConfideNetworkUtil
import
com.ydl.webview.H5Params
import
com.ydl.webview.NewH5Activity
import
com.ydl.webview.TellData
import
com.ydl.ydlcommon.base.BaseApp
import
com.ydl.ydlcommon.modular.ModularServiceManager
import
com.ydl.ydlcommon.utils.remind.ToastHelper
import
com.ydl.ydlcommon.view.dialog.CommonDialog
import
com.yidianling.common.tools.RxSPTool
import
com.yidianling.common.tools.ToastUtil
import
com.yidianling.user.api.service.IUserService
import
com.yidianling.ydl_pay.pay.payDialog.CallBack
import
com.yidianling.ydl_pay.pay.payDialog.ConfidePayParams
...
...
@@ -107,6 +111,10 @@ class ConfideWebServiceImpl {
if
(
it
.
data
?.
dialDetail
?.
callConnectType
?:
-
1
==
3
)
{
//声网
it
.
data
?.
dialDetail
?.
agoraExpertInfo
?:
return
@subscribe
if
(!
RxSPTool
.
getBoolean
(
BaseApp
.
getApp
(),
YDLavManager
.
IS_ONLINE_RTM
)){
ToastUtil
.
toastShort
(
"网络通话错误代码001"
)
return
@subscribe
}
callAgora
(
activity
,
id
,
...
...
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