Commit 016d6107 by 严久程

Merge branch 'feature/v3' of…

Merge branch 'feature/v3' of ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component into feature/v3
parents d5ff2299 fd2e5fd8
ext {
kotlin_version = "1.3.21"
dev_mode = false
dev_mode = true
ydl_app = [
appName : "心理咨询壹点灵",
......@@ -63,7 +63,7 @@ ext {
"m-fm-api" : "0.0.2",
"m-muse-api" : "0.0.1",
"m-tests-api" : "0.0.1",
"m-user-api" : "0.0.7",
"m-user-api" : "0.0.8",
"m-home-api" : "0.0.3",
"m-im-api" : "0.0.2",
"m-dynamic-api" : "0.0.1",
......@@ -108,7 +108,7 @@ ext {
"m-fm-api" : "0.0.2",
"m-muse-api" : "0.0.1",
"m-tests-api" : "0.0.1",
"m-user-api" : "0.0.7",
"m-user-api" : "0.0.8",
"m-home-api" : "0.0.3",
"m-im-api" : "0.0.2",
"m-dynamic-api" : "0.0.1",
......
......@@ -96,6 +96,8 @@ dependencies {
api project(':ydl-platform')
implementation modularPublication('com.ydl:m-im-api')
implementation modularPublication('com.ydl:m-user-api')
implementation modularPublication('com.ydl:m-dynamic-api')
implementation modularPublication('com.ydl:m-tests-api')
}else {
//发布时使用
compileOnly rootProject.ext.dependencies["ydl-m-user-api"]
......
......@@ -24,7 +24,7 @@ modular {
groupId = "com.ydl"
artifactId = "m-user-api"
//开发时注释掉版本号,发布api时打开
//version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"]
// version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"]
// API 层打包时需要引入的依赖
apiDependencies {
implementation "com.google.code.gson:gson:2.8.2"
......
package com.yidianling.user.modular_service
import android.app.Activity
import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.yidianling.user.api.service.IAppService
@Route(path = "/user/AppService")
class AppServiceImpl: IAppService {
override fun mainIntent(activity: Activity) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun mainIntent(context: Context, selectTab: Int, animation: Boolean) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun myRedPockIntent(activity: Activity) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun receiverRedPacketIntent(activity: Activity, param: String) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun personalInfoIntent(activity: Activity) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun rechargeIntent(activity: Activity) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun splashIntent(activity: Activity) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun feedBackIntent(activity: Activity) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun sendRedPacketIntent(activity: Activity, toUid: String) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun notificationSettingIntent(activity: Activity) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun privacyIntent(activity: Activity) {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
override fun init(context: Context?) {
}
}
\ No newline at end of file
package com.yidianling.user.api.service
import android.app.Activity
import android.content.Context
import com.alibaba.android.arouter.facade.template.IProvider
/**
* Created by haorui on 2019-12-18 .
* Des: App 壳应用 方法调用,临时解决方案
* 待壳应用组件化抽取后,放置于壳应用组件之下
*/
interface IAppService : IProvider {
fun mainIntent(activity: Activity)
fun mainIntent(context: Context, selectTab: Int, animation: Boolean)
fun myRedPockIntent(activity: Activity)
fun receiverRedPacketIntent(activity: Activity, param: String)
fun personalInfoIntent(activity: Activity)
fun rechargeIntent(activity: Activity)
fun splashIntent(activity: Activity)
fun feedBackIntent(activity: Activity)
fun sendRedPacketIntent(activity: Activity, toUid: String)
fun notificationSettingIntent(activity: Activity)
fun privacyIntent(activity: Activity)
}
\ No newline at end of file
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