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
193cc1c4
Commit
193cc1c4
authored
Mar 10, 2020
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
信息采集过滤已经采集到的
parent
054be915
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
CollectUserInformationView.kt
m-im/src/main/java/com/yidianling/uikit/business/session/view/CollectUserInformationView.kt
+5
-0
ServiceApi.kt
m-im/src/main/java/com/yidianling/uikit/custom/http/ServiceApi.kt
+1
-1
No files found.
m-im/src/main/java/com/yidianling/uikit/business/session/view/CollectUserInformationView.kt
View file @
193cc1c4
...
@@ -83,6 +83,7 @@ class CollectUserInformationView(
...
@@ -83,6 +83,7 @@ class CollectUserInformationView(
}
catch
(
e
:
Exception
)
{
}
catch
(
e
:
Exception
)
{
1994
1994
}
}
ageStr
=
"年龄:${(Calendar.getInstance().get(Calendar.YEAR) - year)}岁"
}
}
}
}
if
(
TextUtils
.
equals
(
"gener"
,
hasCompleteInfoList
[
it
].
userInfoType
))
{
if
(
TextUtils
.
equals
(
"gener"
,
hasCompleteInfoList
[
it
].
userInfoType
))
{
...
@@ -245,8 +246,12 @@ class CollectUserInformationView(
...
@@ -245,8 +246,12 @@ class CollectUserInformationView(
UserQuestInfoBean
(
list
[
4
].
userInfoType
,
""
,
ArrayList
(),
questionStr
.
split
(
":"
)[
1
])
UserQuestInfoBean
(
list
[
4
].
userInfoType
,
""
,
ArrayList
(),
questionStr
.
split
(
":"
)[
1
])
val
resultList
=
ArrayList
<
UserQuestInfoBean
>()
val
resultList
=
ArrayList
<
UserQuestInfoBean
>()
if
(!
hasGender
)
{
resultList
.
add
(
genderBean
)
resultList
.
add
(
genderBean
)
}
if
(!
hasAge
)
{
resultList
.
add
(
ageBean
)
resultList
.
add
(
ageBean
)
}
resultList
.
add
(
questionStyleBean
)
resultList
.
add
(
questionStyleBean
)
resultList
.
add
(
questionBean
)
resultList
.
add
(
questionBean
)
...
...
m-im/src/main/java/com/yidianling/uikit/custom/http/ServiceApi.kt
View file @
193cc1c4
...
@@ -50,7 +50,7 @@ interface ServiceApi {
...
@@ -50,7 +50,7 @@ interface ServiceApi {
//获取新用户收集的信息
//获取新用户收集的信息
@
GE
T
(
"user/getNewUserMes"
)
@
POS
T
(
"user/getNewUserMes"
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
)
@Headers
(
YDL_DOMAIN
+
YDL_DOMAIN_JAVA
)
fun
getNewUserMes
():
Observable
<
BaseAPIResponse
<
List
<
UserQuestInfoBean
>>>
fun
getNewUserMes
():
Observable
<
BaseAPIResponse
<
List
<
UserQuestInfoBean
>>>
...
...
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