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
bbe9664c
Commit
bbe9664c
authored
Jul 06, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/qj/confide_optimize' into 'd/v_confide_optimized'
接通率优化 See merge request app_android_lib/YDL-Component!229
parents
67dbf484
0e5db903
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
build.gradle
api/confide/build.gradle
+1
-1
config.gradle
config.gradle
+2
-2
ConfdieServiceImpl.kt
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfdieServiceImpl.kt
+0
-2
ConfideWebServiceImpl.kt
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfideWebServiceImpl.kt
+4
-0
No files found.
api/confide/build.gradle
View file @
bbe9664c
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android'
apply
from:
"../../maven_push_api.gradle"
apply
from:
"../../maven_push_api.gradle"
version
=
'1.0.
3
'
version
=
'1.0.
4
'
android
{
android
{
compileSdkVersion
rootProject
.
ext
.
android
[
"compileSdkVersion"
]
compileSdkVersion
rootProject
.
ext
.
android
[
"compileSdkVersion"
]
...
...
config.gradle
View file @
bbe9664c
ext
{
ext
{
dev_mode
=
false
//组件发布的时候需要设置为false
dev_mode
=
false
//组件发布的时候需要设置为false
ydl2PublishVersion
=
"0.2.0.
3
-SNAPSHOT"
ydl2PublishVersion
=
"0.2.0.
4
-SNAPSHOT"
ydlPublishVersion
=
[
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
...
@@ -234,7 +234,7 @@ ext {
...
@@ -234,7 +234,7 @@ ext {
"ydl-m-home-api"
:
"com.ydl:m-home-api:${ydlPublishVersion["
m
-
home
-
api
"]}"
,
"ydl-m-home-api"
:
"com.ydl:m-home-api:${ydlPublishVersion["
m
-
home
-
api
"]}"
,
"ydl-m-consultant-api"
:
"com.ydl:m-consultant-api:1.0.0"
,
"ydl-m-consultant-api"
:
"com.ydl:m-consultant-api:1.0.0"
,
"ydl-m-dynamic-api"
:
"com.ydl:m-dynamic-api:1.0.0"
,
"ydl-m-dynamic-api"
:
"com.ydl:m-dynamic-api:1.0.0"
,
"ydl-m-confide-api"
:
"com.ydl:m-confide-api:1.0.
3
"
,
"ydl-m-confide-api"
:
"com.ydl:m-confide-api:1.0.
4
"
,
"ydl-m-course-api"
:
"com.ydl:m-course-api:1.0.0"
,
"ydl-m-course-api"
:
"com.ydl:m-course-api:1.0.0"
,
]
]
...
...
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfdieServiceImpl.kt
View file @
bbe9664c
...
@@ -20,7 +20,6 @@ import com.ydl.confide.home.bean.ConfideConnectResponse
...
@@ -20,7 +20,6 @@ import com.ydl.confide.home.bean.ConfideConnectResponse
import
com.ydl.webview.TellData
import
com.ydl.webview.TellData
import
com.ydl.ydlcommon.base.BaseApp
import
com.ydl.ydlcommon.base.BaseApp
import
com.ydl.ydlcommon.base.config.YDLConstants
import
com.ydl.ydlcommon.base.config.YDLConstants
import
com.ydl.ydlcommon.ui.Loading
import
com.ydl.ydlcommon.utils.YDLCacheUtils
import
com.ydl.ydlcommon.utils.YDLCacheUtils
/**
/**
...
@@ -55,7 +54,6 @@ class ConfdieServiceImpl : IConfideService {
...
@@ -55,7 +54,6 @@ class ConfdieServiceImpl : IConfideService {
}
}
override
fun
connectionJava
(
id
:
Int
,
type
:
Int
,
activity
:
Activity
,
tellData
:
String
?,
callType
:
String
?)
{
override
fun
connectionJava
(
id
:
Int
,
type
:
Int
,
activity
:
Activity
,
tellData
:
String
?,
callType
:
String
?)
{
Loading
.
show
(
activity
)
val
myTellData
:
TellData
?
=
if
(
tellData
==
null
)
null
else
Gson
().
fromJson
(
tellData
,
TellData
::
class
.
java
)
val
myTellData
:
TellData
?
=
if
(
tellData
==
null
)
null
else
Gson
().
fromJson
(
tellData
,
TellData
::
class
.
java
)
ConfideWebServiceImpl
().
connectionJava
(
id
,
type
,
activity
,
myTellData
,
callType
)
ConfideWebServiceImpl
().
connectionJava
(
id
,
type
,
activity
,
myTellData
,
callType
)
}
}
...
...
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfideWebServiceImpl.kt
View file @
bbe9664c
...
@@ -175,11 +175,13 @@ class ConfideWebServiceImpl {
...
@@ -175,11 +175,13 @@ class ConfideWebServiceImpl {
activity
:
Activity
,
activity
:
Activity
,
tellData
:
TellData
?
tellData
:
TellData
?
)
{
)
{
Loading
.
show
(
activity
)
ConfideHomeDataManager
.
getHttp
()
ConfideHomeDataManager
.
getHttp
()
.
submitOrderAndPay
(
ConnectParamJava
(
""
+
id
,
""
+
type
,
callType
?:
""
))
.
submitOrderAndPay
(
ConnectParamJava
(
""
+
id
,
""
+
type
,
callType
?:
""
))
.
subscribeOn
(
Schedulers
.
io
())
.
subscribeOn
(
Schedulers
.
io
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
({
.
subscribe
({
Loading
.
close
()
if
(
"200"
==
it
.
code
)
{
if
(
"200"
==
it
.
code
)
{
when
(
it
.
data
?.
dialDetail
?.
dialStatus
)
{
when
(
it
.
data
?.
dialDetail
?.
dialStatus
)
{
0
->
{
//连接成功
0
->
{
//连接成功
...
@@ -205,6 +207,7 @@ class ConfideWebServiceImpl {
...
@@ -205,6 +207,7 @@ class ConfideWebServiceImpl {
ToastHelper
.
show
(
it
.
msg
)
ToastHelper
.
show
(
it
.
msg
)
}
}
},
{
},
{
Loading
.
close
()
ToastHelper
.
show
(
it
.
message
?:
"连接失败"
)
ToastHelper
.
show
(
it
.
message
?:
"连接失败"
)
})
})
}
}
...
@@ -309,6 +312,7 @@ class ConfideWebServiceImpl {
...
@@ -309,6 +312,7 @@ class ConfideWebServiceImpl {
}
}
},
{
},
{
ToastHelper
.
show
(
it
.
message
?:
"连接失败"
)
ToastHelper
.
show
(
it
.
message
?:
"连接失败"
)
Loading
.
close
()
})
})
}
}
...
...
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