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
ece84663
Commit
ece84663
authored
Nov 12, 2019
by
洪国微
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加audioim api
parent
8383ff66
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
53 additions
and
18 deletions
+53
-18
config.gradle
config.gradle
+1
-1
modular.gradle
m-audioim/modular.gradle
+19
-0
AVRouterImpl.kt
m-audioim/src/main/java/com/ydl/audioim/AVRouterImpl.kt
+0
-12
AudioImImpl.kt
m-audioim/src/main/java/com/ydl/audioim/AudioImImpl.kt
+15
-0
AudioImApi.kt
m-audioim/src/main/modular_api/com/ydl/audioim/api/AudioImApi.kt
+13
-0
modular.gradle
m-confide/modular.gradle
+2
-2
ConfideHomeHttpImpl.kt
m-confide/src/main/java/com/ydl/confide/home/http/ConfideHomeHttpImpl.kt
+2
-2
PlatformRamImpl.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/data/PlatformRamImpl.kt
+1
-1
No files found.
config.gradle
View file @
ece84663
ext
{
kotlin_version
=
'1.3.21'
dev_mode
=
tru
e
dev_mode
=
fals
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
m-audioim/modular.gradle
0 → 100644
View file @
ece84663
modular
{
packageName
"com.ydl.audioim"
// 模块发布需要的参数
publish
{
api
{
//发布信息 module/api 通用
groupId
=
"com.ydl"
artifactId
=
"m-audioim-api"
version
=
"0.0.1"
// API 层打包时需要引入的依赖
apiDependencies
{
implementation
"com.google.code.gson:gson:2.8.2"
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation
'com.alibaba:arouter-api:1.4.1'
}
}
}
}
\ No newline at end of file
m-audioim/src/main/java/com/ydl/audioim/AVRouterImpl.kt
deleted
100644 → 0
View file @
8383ff66
package
com.ydl.audioim
//import com.ydl.audioim.api.IAVRouter
//class AVRouterImpl: IAVRouter {
// override fun loginAgora(userId: String?) {
// YDLavManager.instances.login(userId)
// }
//
//}
\ No newline at end of file
m-audioim/src/main/java/com/ydl/audioim/AudioImImpl.kt
0 → 100644
View file @
ece84663
package
com.ydl.audioim
import
com.ydl.audioim.api.AudioImApi
/**
* 模块对外提供接口的实现类
*/
class
AudioImImpl
:
AudioImApi
{
override
fun
loginAgora
(
userId
:
String
?)
{
YDLavManager
.
instances
.
login
(
userId
)
}
}
\ No newline at end of file
m-audioim/src/main/modular_api/com/ydl/audioim/api/AudioImApi.kt
0 → 100644
View file @
ece84663
package
com.ydl.audioim.api
/**
* 对外api接口
*/
interface
AudioImApi
{
/**
* 登录声网Im
*/
fun
loginAgora
(
uid
:
String
?)
}
\ No newline at end of file
m-confide/modular.gradle
View file @
ece84663
...
...
@@ -8,7 +8,7 @@ modular {
groupId
=
"com.ydl"
artifactId
=
"m-confide-module-xlzx"
// 上报的业务模块 aar 包的版本号
version
=
"0.0.
8
"
version
=
"0.0.
9
"
}
ydl
{
...
...
@@ -16,7 +16,7 @@ modular {
groupId
=
"com.ydl"
artifactId
=
"m-confide-module-ydl"
// 上报的业务模块 aar 包的版本号
version
=
"0.0.
8
"
version
=
"0.0.
9
"
}
}
...
...
m-confide/src/main/java/com/ydl/confide/home/http/ConfideHomeHttpImpl.kt
View file @
ece84663
...
...
@@ -35,7 +35,7 @@ class ConfideHomeHttpImpl private constructor(): IConfideHomeHttp{
override
fun
confideHomeRequest
():
Observable
<
BaseAPIResponse
<
MutableList
<
ConfideHomeDataBean
>>>
{
return
RxUtils
.
mapObservable
(
ConfideHomeParam
(
0
))
.
flatMap
{
confideHomeApi
.
confideHome
(
HttpConfig
.
SERVER_API_JAVA
_URL
+
"auth/listen/home"
)
confideHomeApi
.
confideHome
(
HttpConfig
.
JAVA_BASE
_URL
+
"auth/listen/home"
)
}
}
...
...
@@ -61,7 +61,7 @@ class ConfideHomeHttpImpl private constructor(): IConfideHomeHttp{
val
confideParam
=
sb
.
toString
()
return
RxUtils
.
mapObservable
(
param
)
.
flatMap
{
confideHomeApi
.
recommedChange
(
HttpConfig
.
SERVER_API_JAVA
_URL
+
"auth/listen/search?"
+
confideParam
)
confideHomeApi
.
recommedChange
(
HttpConfig
.
JAVA_BASE
_URL
+
"auth/listen/search?"
+
confideParam
)
}
}
...
...
ydl-platform/src/main/java/com/ydl/ydlcommon/data/PlatformRamImpl.kt
View file @
ece84663
...
...
@@ -34,7 +34,7 @@ class PlatformRamImpl private constructor(): IPlatformRam {
var
channel
=
WalleChannelReader
.
getChannel
(
YdlCommonOut
.
getApp
())
if
(
channel
.
isNullOrEmpty
()){
if
(
BaseApp
.
instance
.
getGlobalConfig
().
appFrom
==
YDLConstants
.
FROM_YDL
){
channel
=
"zhuzhan"
channel
=
"
android_
zhuzhan"
}
else
{
channel
=
"ATK_7_android_zhuzhan"
}
...
...
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