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
a364e4aa
Commit
a364e4aa
authored
Mar 31, 2020
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backup
parent
6c6863a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
config.gradle
config.gradle
+1
-1
UserApi.kt
m-user/src/main/java/com/yidianling/user/http/UserApi.kt
+3
-1
UserHttpImpl.kt
m-user/src/main/java/com/yidianling/user/http/UserHttpImpl.kt
+3
-1
No files found.
config.gradle
View file @
a364e4aa
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
tru
e
dev_mode
=
fals
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
m-user/src/main/java/com/yidianling/user/http/UserApi.kt
View file @
a364e4aa
...
...
@@ -191,7 +191,8 @@ interface UserApi {
fun
getFocusData
(
@Query
(
"parentId"
)
parentId
:
String
=
"0"
):
Observable
<
BaseAPIResponse
<
List
<
CollectFocusItemBean
>>>
//获取新用户引导页面url
@FormUrlEncoded
@POST
(
"user/getNewUserJumpUrl"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
)
fun
getNewUserJumpUrl
():
Observable
<
BaseAPIResponse
<
String
>>
fun
getNewUserJumpUrl
(
@FieldMap
params
:
Map
<
String
,
String
>
):
Observable
<
BaseAPIResponse
<
String
>>
}
\ No newline at end of file
m-user/src/main/java/com/yidianling/user/http/UserHttpImpl.kt
View file @
a364e4aa
...
...
@@ -6,6 +6,7 @@ import com.google.gson.internal.LinkedTreeMap
import
com.umeng.socialize.bean.SHARE_MEDIA
import
com.ydl.ydlcommon.base.BaseApp
import
com.ydl.ydlcommon.data.http.BaseAPIResponse
import
com.ydl.ydlcommon.data.http.BaseCommand
import
com.ydl.ydlcommon.data.http.BaseResponse
import
com.ydl.ydlcommon.data.http.RxUtils
import
com.ydl.ydlcommon.router.YdlCommonOut
...
...
@@ -204,7 +205,8 @@ class UserHttpImpl private constructor() : UserHttp {
}
override
fun
getNewUserJumpUrl
():
Observable
<
BaseAPIResponse
<
String
>>
{
return
getUserApi
().
getNewUserJumpUrl
()
return
RxUtils
.
mapObservable
(
BaseCommand
())
.
flatMap
{
getUserApi
().
getNewUserJumpUrl
(
it
)
}
}
private
object
Holder
{
...
...
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