Skip to content

Commit d1f78f8

Browse files
committed
Client:优化个人资料UserActivity获取相册图片,Moment数据只取pictureList
1 parent 1916ccf commit d1f78f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/src/apijson/demo/client/util

‎APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp/src/apijson/demo/client/util/HttpRequest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public static void getUser(long id, boolean withMomentList, int requestCode, OnH
270270
JSONRequest request = new JSONRequest(new User(id));
271271
if (withMomentList) {
272272
request.add(new JSONRequest(Moment.class.getSimpleName()
273-
, new JSONRequest(KEY_USER_ID, id)) //.setColumns("userId,pictureList"))
273+
, new JSONRequest(KEY_USER_ID, id).setColumns("pictureList"))
274274
.toArray(3, 0, Moment.class.getSimpleName()));
275275
}
276276
get(request, requestCode, listener);

0 commit comments

Comments
 (0)