diff --git a/common/src/main/java/com/yunbao/common/dialog/GiftWallAchieveWearDialog.java b/common/src/main/java/com/yunbao/common/dialog/GiftWallAchieveWearDialog.java index 5db59225a..edc95fa09 100644 --- a/common/src/main/java/com/yunbao/common/dialog/GiftWallAchieveWearDialog.java +++ b/common/src/main/java/com/yunbao/common/dialog/GiftWallAchieveWearDialog.java @@ -101,7 +101,8 @@ public class GiftWallAchieveWearDialog extends AbsDialogPopupWindow { @Override public void onClick(View view) { if (achieveWearModels.get(selectPosition).getUseStatus().equals("0") && achieveWearModels.get(selectPosition).getDressStatus().equals("2")) { - LiveNetManager.get(mContext).userUseDress("3", achieveWearModels.get(selectPosition).getUsersDressId(), new HttpCallback() { + LiveNetManager.get(mContext).userUseDress( + achieveWearModels.get(selectPosition).getUsersDressId(), new HttpCallback() { @Override public void onSuccess(HttpCallbackModel data) { ToastUtil.show(data.getMsg()); diff --git a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java index cc1d9b173..29c9817d1 100644 --- a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java +++ b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java @@ -1292,7 +1292,7 @@ public interface PDLiveApi { Observable> getGiftHallMedalList(@Query("to_uid") String liveUid,@Query("type")String type); @GET("/api/public/?service=Dress.userUseDress") - Observable>> userUseDress(@Query("dress_type") String dress_type,@Query("users_dress_id")String users_dress_id); + Observable>> userUseDress(@Query("users_dress_id")String users_dress_id); /** * 个人展馆 diff --git a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java index a06483cde..cc5c69ce6 100644 --- a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java +++ b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java @@ -3572,9 +3572,9 @@ public class LiveNetManager { }).isDisposed(); } - public void userUseDress(String dressType, String usersDressId, HttpCallback callback) { + public void userUseDress( String usersDressId, HttpCallback callback) { API.get().pdLiveApi(mContext) - .userUseDress(dressType, usersDressId) + .userUseDress(usersDressId) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Consumer>>() {