Commit 4d53edd8 by 徐健

backup

parent b81ea17f
ext { ext {
kotlin_version = "1.3.21" kotlin_version = "1.3.21"
dev_mode = true dev_mode = false
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.37", "m-user" : "0.0.39.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.11", "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"]}",
] ]
} }
...@@ -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
......
...@@ -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
......
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;
} }
......
...@@ -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"
......
...@@ -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"]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment