更新消息中心接口

This commit is contained in:
kehaoyuan
2018-08-24 16:49:02 +08:00
parent 663e5124fe
commit 5209e5b463
2 changed files with 3 additions and 3 deletions

View File

@ -18,6 +18,7 @@ import com.gh.gamecenter.baselist.ListAdapter;
import com.gh.gamecenter.baselist.ListFragment;
import com.gh.gamecenter.baselist.NormalListViewModel;
import com.gh.gamecenter.entity.MessageKeFuEntity;
import com.gh.gamecenter.manager.UserManager;
import com.gh.gamecenter.retrofit.RetrofitManager;
import com.gh.gamecenter.subject.refactor.SubjectActivity;
import com.halo.assistant.HaloApp;
@ -55,7 +56,7 @@ public class KeFuFragment extends ListFragment<MessageKeFuEntity, NormalListView
@Override
public Observable<List<MessageKeFuEntity>> provideDataObservable(int page) {
return RetrofitManager.getInstance(getContext()).getApi().getMessageKeFuData(page);
return RetrofitManager.getInstance(getContext()).getApi().getMessageKeFuData(UserManager.getInstance().getUserId(), page);
}
@Override