|
@@ -142,7 +142,8 @@ public class FgtSearch extends BaseFragment implements ISearch {
|
|
|
item.data = object.getString("data");
|
|
item.data = object.getString("data");
|
|
|
if (item.type == 1) {
|
|
if (item.type == 1) {
|
|
|
item.object = com.alibaba.fastjson.JSONObject.parseObject(item.data, Applications.class);
|
|
item.object = com.alibaba.fastjson.JSONObject.parseObject(item.data, Applications.class);
|
|
|
- } else if (item.type == 2) {
|
|
|
|
|
|
|
+ items.add(item);
|
|
|
|
|
+ } /*else if (item.type == 2) {
|
|
|
item.object = com.alibaba.fastjson.JSONObject.parseObject(item.data, TaskSimple.class);
|
|
item.object = com.alibaba.fastjson.JSONObject.parseObject(item.data, TaskSimple.class);
|
|
|
} else if (item.type == 3) {
|
|
} else if (item.type == 3) {
|
|
|
item.object = com.alibaba.fastjson.JSONObject.parseObject(item.data, GiftBagApp.class);
|
|
item.object = com.alibaba.fastjson.JSONObject.parseObject(item.data, GiftBagApp.class);
|
|
@@ -155,7 +156,7 @@ public class FgtSearch extends BaseFragment implements ISearch {
|
|
|
} else {
|
|
} else {
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
- items.add(item);
|
|
|
|
|
|
|
+ items.add(item);*/
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (isRefresh) {
|
|
if (isRefresh) {
|