Commit 193cc1c4 by 严久程

信息采集过滤已经采集到的

parent 054be915
...@@ -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)
......
...@@ -50,7 +50,7 @@ interface ServiceApi { ...@@ -50,7 +50,7 @@ interface ServiceApi {
//获取新用户收集的信息 //获取新用户收集的信息
@GET("user/getNewUserMes") @POST("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>>>
......
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