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
4d53edd8
Commit
4d53edd8
authored
Dec 13, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backup
parent
b81ea17f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
24 deletions
+24
-24
config.gradle
config.gradle
+14
-11
build.gradle
m-home/build.gradle
+2
-0
HomeBaseImpl.kt
m-home/src/main/java/com/yidianling/home/event/HomeBaseImpl.kt
+3
-9
HomeModuleTabEvent.java
m-home/src/main/modular_api/com/yidianling/home/api/event/HomeModuleTabEvent.java
+3
-2
modular.gradle
m-im/modular.gradle
+1
-1
build.gradle
m-user/build.gradle
+1
-1
No files found.
config.gradle
View file @
4d53edd8
ext
{
ext
{
kotlin_version
=
"1.3.21"
kotlin_version
=
"1.3.21"
dev_mode
=
tru
e
dev_mode
=
fals
e
ydl_app
=
[
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
appName
:
"心理咨询壹点灵"
,
...
@@ -46,8 +46,8 @@ ext {
...
@@ -46,8 +46,8 @@ ext {
"m-confide"
:
"0.0.40"
,
"m-confide"
:
"0.0.40"
,
"m-consultant"
:
"0.0.44"
,
"m-consultant"
:
"0.0.44"
,
"m-fm"
:
"0.0.21"
,
"m-fm"
:
"0.0.21"
,
"m-user"
:
"0.0.3
7
"
,
"m-user"
:
"0.0.3
9.1
"
,
"m-home"
:
"0.0.
4
"
,
"m-home"
:
"0.0.
5.1
"
,
"m-muse"
:
"0.0.19.5"
,
"m-muse"
:
"0.0.19.5"
,
"m-tests"
:
"0.0.13.5"
,
"m-tests"
:
"0.0.13.5"
,
...
@@ -63,18 +63,18 @@ ext {
...
@@ -63,18 +63,18 @@ ext {
"m-muse-api"
:
"0.0.1"
,
"m-muse-api"
:
"0.0.1"
,
"m-tests-api"
:
"0.0.1"
,
"m-tests-api"
:
"0.0.1"
,
"m-user-api"
:
"0.0.7"
,
"m-user-api"
:
"0.0.7"
,
"m-home-api"
:
"0.0.
2
"
,
"m-home-api"
:
"0.0.
3
"
,
"m-im-api"
:
"0.0.1"
,
"m-im-api"
:
"0.0.1"
,
//-------------- 功能组件 --------------
//-------------- 功能组件 --------------
//第一步
//第一步
"ydl-platform"
:
"0.0.28.
3
"
,
"ydl-platform"
:
"0.0.28.
4
"
,
//第二步 若干
//第二步 若干
"ydl-webview"
:
"0.0.28"
,
"ydl-webview"
:
"0.0.28
.1
"
,
"ydl-media"
:
"0.0.14"
,
"ydl-media"
:
"0.0.14
.1
"
,
"ydl-pay"
:
"0.0.11"
,
"ydl-pay"
:
"0.0.11
.1
"
,
"m-audioim"
:
"0.0.
31.1
1"
,
"m-audioim"
:
"0.0.
40.
1"
,
//以下 几乎不会动
//以下 几乎不会动
"router"
:
"0.0.1"
,
"router"
:
"0.0.1"
,
...
@@ -106,12 +106,12 @@ ext {
...
@@ -106,12 +106,12 @@ ext {
"m-muse-api"
:
"0.0.1"
,
"m-muse-api"
:
"0.0.1"
,
"m-tests-api"
:
"0.0.1"
,
"m-tests-api"
:
"0.0.1"
,
"m-user-api"
:
"0.0.7"
,
"m-user-api"
:
"0.0.7"
,
"m-home-api"
:
"0.0.
2
"
,
"m-home-api"
:
"0.0.
3
"
,
"m-im-api"
:
"0.0.1"
,
"m-im-api"
:
"0.0.1"
,
//-------------- 功能组件 --------------
//-------------- 功能组件 --------------
//第一步
//第一步
"ydl-platform"
:
"0.0.28.
3
"
,
"ydl-platform"
:
"0.0.28.
4
"
,
//第二步 若干
//第二步 若干
"ydl-webview"
:
"0.0.28"
,
"ydl-webview"
:
"0.0.28"
,
...
@@ -280,6 +280,9 @@ ext {
...
@@ -280,6 +280,9 @@ ext {
"ydl-m-fm-api"
:
"com.ydl:m-fm-api:${ydlCompileVersion["
m
-
fm
-
api
"]}"
,
"ydl-m-fm-api"
:
"com.ydl:m-fm-api:${ydlCompileVersion["
m
-
fm
-
api
"]}"
,
"ydl-m-tests-api"
:
"com.ydl:m-tests-api:${ydlCompileVersion["
m
-
tests
-
api
"]}"
,
"ydl-m-tests-api"
:
"com.ydl:m-tests-api:${ydlCompileVersion["
m
-
tests
-
api
"]}"
,
"ydl-m-audioim-api"
:
"com.ydl:m-audioim-api:${ydlCompileVersion["
m
-
audioim
-
api
"]}"
,
"ydl-m-audioim-api"
:
"com.ydl:m-audioim-api:${ydlCompileVersion["
m
-
audioim
-
api
"]}"
,
"ydl-m-im-api"
:
"com.ydl:m-im-api:${ydlCompileVersion["
m
-
im
-
api
"]}"
,
"ydl-m-home-api"
:
"com.ydl:m-home-api:${ydlCompileVersion["
m
-
home
-
api
"]}"
,
"ydl-m-consultant-api"
:
"com.ydl:m-consultant-api:${ydlCompileVersion["
m
-
consultant
-
api
"]}"
,
]
]
}
}
m-home/build.gradle
View file @
4d53edd8
...
@@ -82,6 +82,7 @@ dependencies {
...
@@ -82,6 +82,7 @@ dependencies {
implementation
modularPublication
(
'com.ydl:m-consultant-api'
)
implementation
modularPublication
(
'com.ydl:m-consultant-api'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-tests-api'
)
implementation
modularPublication
(
'com.ydl:m-tests-api'
)
implementation
modularPublication
(
'com.ydl:m-home-api'
)
implementation
modularPublication
(
'com.ydl:m-im-api'
)
implementation
modularPublication
(
'com.ydl:m-im-api'
)
implementation
project
(
':ydl-webview'
)
implementation
project
(
':ydl-webview'
)
implementation
project
(
':ydl-media'
)
implementation
project
(
':ydl-media'
)
...
@@ -92,6 +93,7 @@ dependencies {
...
@@ -92,6 +93,7 @@ dependencies {
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-consultant-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-consultant-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-home-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-home-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
'ydl-m-tests-api'
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-im-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-im-api"
]
api
(
rootProject
.
ext
.
dependencies
[
"ydl-platform"
])
{
api
(
rootProject
.
ext
.
dependencies
[
"ydl-platform"
])
{
transitive
=
true
transitive
=
true
...
...
m-home/src/main/java/com/yidianling/home/event/HomeBaseImpl.kt
View file @
4d53edd8
...
@@ -30,6 +30,7 @@ import com.ydl.ydlcommon.utils.remind.ToastHelper
...
@@ -30,6 +30,7 @@ import com.ydl.ydlcommon.utils.remind.ToastHelper
import
com.ydl.ydlcommon.view.dialog.CommonDialog
import
com.ydl.ydlcommon.view.dialog.CommonDialog
import
com.yidianling.consultant.constants.HomeBIConstants
import
com.yidianling.consultant.constants.HomeBIConstants
import
com.yidianling.home.R
import
com.yidianling.home.R
import
com.yidianling.home.api.event.HomeModuleTabEvent
import
com.yidianling.home.constract.IHomeContract
import
com.yidianling.home.constract.IHomeContract
import
com.yidianling.home.model.bean.*
import
com.yidianling.home.model.bean.*
import
com.yidianling.im.api.bean.IMRequestCallback
import
com.yidianling.im.api.bean.IMRequestCallback
...
@@ -200,8 +201,7 @@ open class HomeBaseImpl : IHomeBaseEvent {
...
@@ -200,8 +201,7 @@ open class HomeBaseImpl : IHomeBaseEvent {
//防止连击
//防止连击
return
return
}
}
EventBus
.
getDefault
().
post
(
com
.
yidianling
.
home
.
api
.
event
.
HomeModuleTabEvent
(
2
))
EventBus
.
getDefault
().
post
(
HomeModuleTabEvent
(
2
))
// YDLRouterManager.router(IYDLRouterConstant.ROUTER_MAIN_TAB, YDLRouterParams().putExtra(IYDLRouterConstant.EXTRA_TAB, "2"))
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_CONSULT_MORE_CLICK
)
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_CONSULT_MORE_CLICK
)
}
}
...
@@ -268,11 +268,8 @@ open class HomeBaseImpl : IHomeBaseEvent {
...
@@ -268,11 +268,8 @@ open class HomeBaseImpl : IHomeBaseEvent {
//防止连击
//防止连击
return
return
}
}
EventBus
.
getDefault
().
post
(
com
.
yidianling
.
home
.
api
.
event
.
HomeModuleTabEvent
(
2
))
EventBus
.
getDefault
().
post
(
HomeModuleTabEvent
(
2
))
// YDLRouterManager.router(IYDLRouterConstant.ROUTER_MAIN_TAB,YDLRouterParams().putExtra(IYDLRouterConstant.EXTRA_TAB, "2"))
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_CONSULT_CLICK
)
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_CONSULT_CLICK
)
// 咨询列表页(专家服务搜索页面) ydl-user://consult/list
// YDLRouterManager.router(IYDLRouterConstant.ROUTER_CONSULT_LIST)
}
}
override
fun
nowConfideClick
()
{
override
fun
nowConfideClick
()
{
...
@@ -280,9 +277,6 @@ open class HomeBaseImpl : IHomeBaseEvent {
...
@@ -280,9 +277,6 @@ open class HomeBaseImpl : IHomeBaseEvent {
//防止连击
//防止连击
return
return
}
}
// ARouter.getInstance().build("/confide/home")
// .withFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
// .navigation()
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_TALK_IN_TIME_CLICK
)
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_TALK_IN_TIME_CLICK
)
//倾诉首页 ydl-user://confide/home
//倾诉首页 ydl-user://confide/home
...
...
m-home/src/main/modular_api/com/yidianling/home/api/event/HomeModuleTabEvent.java
View file @
4d53edd8
package
com
.
yidianling
.
home
.
api
.
event
;
package
com
.
yidianling
.
home
.
api
.
event
;
public
class
HomeModuleTabEvent
{
public
class
HomeModuleTabEvent
{
int
tabIndex
;
HomeModuleTabEvent
(
int
index
)
{
private
int
tabIndex
;
public
HomeModuleTabEvent
(
int
index
)
{
tabIndex
=
index
;
tabIndex
=
index
;
}
}
...
...
m-im/modular.gradle
View file @
4d53edd8
...
@@ -24,7 +24,7 @@ modular {
...
@@ -24,7 +24,7 @@ modular {
groupId
=
"com.ydl"
groupId
=
"com.ydl"
artifactId
=
"m-im-api"
artifactId
=
"m-im-api"
//开发时注释掉版本号,发布api时打开
//开发时注释掉版本号,发布api时打开
//
version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"]
//
version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"]
// API 层打包时需要引入的依赖
// API 层打包时需要引入的依赖
apiDependencies
{
apiDependencies
{
implementation
"com.google.code.gson:gson:2.8.2"
implementation
"com.google.code.gson:gson:2.8.2"
...
...
m-user/build.gradle
View file @
4d53edd8
...
@@ -91,7 +91,7 @@ dependencies {
...
@@ -91,7 +91,7 @@ dependencies {
}
else
{
}
else
{
//发布时使用
//发布时使用
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
'm-home-api'
]
compileOnly
rootProject
.
ext
.
dependencies
[
'
ydl-
m-home-api'
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-audioim-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-audioim-api"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-webview"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-webview"
]
api
(
rootProject
.
ext
.
dependencies
[
"ydl-platform"
])
{
api
(
rootProject
.
ext
.
dependencies
[
"ydl-platform"
])
{
...
...
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