大家都在搜接口参数修改
This commit is contained in:
@@ -332,8 +332,7 @@ public class SearchActivity extends BaseMvpActivity<ISearchView, SearchPresenter
|
||||
private void handleCommonSearch(String id) {
|
||||
AvRoomModel.get().commonSearch(id)
|
||||
.compose(bindToLifecycle())
|
||||
.subscribe(
|
||||
data -> {
|
||||
.subscribe(data -> {
|
||||
if (ListUtils.isListEmpty(data)) {
|
||||
showCommonSearchEmpty();
|
||||
} else {
|
||||
|
@@ -832,7 +832,7 @@ public class RoomBaseModel extends BaseModel implements IRoomBaseModel {
|
||||
* @return
|
||||
*/
|
||||
@GET("/every/one/search/getRoomList")
|
||||
Single<ServiceResult<List<SearchRoomInfo>>> commonSearch(@Query("id") String id);
|
||||
Single<ServiceResult<List<SearchRoomInfo>>> commonSearch(@Query("wordId") String id);
|
||||
|
||||
/**
|
||||
* 获取该Uid 所在的房间信息,如果不在房间 返回的房间实体uid==0,或者roomId == 0
|
||||
|
Reference in New Issue
Block a user