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
fd2e5fd8
Commit
fd2e5fd8
authored
Dec 18, 2019
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User模块补充AppService
parent
434613e0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
103 additions
and
4 deletions
+103
-4
config.gradle
config.gradle
+3
-3
build.gradle
m-im/build.gradle
+2
-0
modular.gradle
m-user/modular.gradle
+1
-1
AppServiceImpl.kt
m-user/src/main/java/com/yidianling/user/modular_service/AppServiceImpl.kt
+60
-0
IAppService.kt
m-user/src/main/modular_api/com/yidianling/user/api/service/IAppService.kt
+37
-0
No files found.
config.gradle
View file @
fd2e5fd8
ext
{
ext
{
kotlin_version
=
"1.3.21"
kotlin_version
=
"1.3.21"
dev_mode
=
fals
e
dev_mode
=
tru
e
ydl_app
=
[
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
appName
:
"心理咨询壹点灵"
,
...
@@ -63,7 +63,7 @@ ext {
...
@@ -63,7 +63,7 @@ ext {
"m-fm-api"
:
"0.0.2"
,
"m-fm-api"
:
"0.0.2"
,
"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.
8
"
,
"m-home-api"
:
"0.0.3"
,
"m-home-api"
:
"0.0.3"
,
"m-im-api"
:
"0.0.2"
,
"m-im-api"
:
"0.0.2"
,
"m-dynamic-api"
:
"0.0.1"
,
"m-dynamic-api"
:
"0.0.1"
,
...
@@ -108,7 +108,7 @@ ext {
...
@@ -108,7 +108,7 @@ ext {
"m-fm-api"
:
"0.0.2"
,
"m-fm-api"
:
"0.0.2"
,
"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.
8
"
,
"m-home-api"
:
"0.0.3"
,
"m-home-api"
:
"0.0.3"
,
"m-im-api"
:
"0.0.2"
,
"m-im-api"
:
"0.0.2"
,
"m-dynamic-api"
:
"0.0.1"
,
"m-dynamic-api"
:
"0.0.1"
,
...
...
m-im/build.gradle
View file @
fd2e5fd8
...
@@ -96,6 +96,8 @@ dependencies {
...
@@ -96,6 +96,8 @@ dependencies {
api
project
(
':ydl-platform'
)
api
project
(
':ydl-platform'
)
implementation
modularPublication
(
'com.ydl:m-im-api'
)
implementation
modularPublication
(
'com.ydl:m-im-api'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-dynamic-api'
)
implementation
modularPublication
(
'com.ydl:m-tests-api'
)
}
else
{
}
else
{
//发布时使用
//发布时使用
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
...
...
m-user/modular.gradle
View file @
fd2e5fd8
...
@@ -24,7 +24,7 @@ modular {
...
@@ -24,7 +24,7 @@ modular {
groupId
=
"com.ydl"
groupId
=
"com.ydl"
artifactId
=
"m-user-api"
artifactId
=
"m-user-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/src/main/java/com/yidianling/user/modular_service/AppServiceImpl.kt
0 → 100644
View file @
fd2e5fd8
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
m-user/src/main/modular_api/com/yidianling/user/api/service/IAppService.kt
0 → 100644
View file @
fd2e5fd8
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
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