1:添加酒吧房抱麦推送,在推送过来后,需要选择礼物
2:添加酒吧房设置了自定义礼物推送 3:修改自定义礼物设置的接口,传递了roomId,用于推送消息
This commit is contained in:
@@ -364,7 +364,7 @@ public interface ApiServer {
|
||||
Call<BaseModel<List<RoonGiftModel>>> getNewGiftList(@Query("label") int label, @Query("type") String type );
|
||||
|
||||
@GET(Constants.SET_CUSTOM_GIFT)
|
||||
Call<BaseModel<String>> setCustomGift(@Query("gift_id") String gift_id, @Query("gift_remark_name") String new_gift_name );
|
||||
Call<BaseModel<String>> setCustomGift(@Query("gift_id") String gift_id, @Query("gift_remark_name") String new_gift_name ,@Query("room_id") String room_id );
|
||||
|
||||
@GET(Constants.TOPIC_LIST)
|
||||
//获取话题
|
||||
|
||||
@@ -2365,8 +2365,8 @@ public class RetrofitClient {
|
||||
});
|
||||
}
|
||||
|
||||
public void setCustomGift(String gift_id, String new_gift_name, BaseObserver<String> observer) {
|
||||
sApiServer.setCustomGift(gift_id, new_gift_name).enqueue(new Callback<BaseModel<String>>() {
|
||||
public void setCustomGift(String gift_id, String new_gift_name,String roomId, BaseObserver<String> observer) {
|
||||
sApiServer.setCustomGift(gift_id, new_gift_name,roomId).enqueue(new Callback<BaseModel<String>>() {
|
||||
|
||||
@Override
|
||||
public void onResponse(Call<BaseModel<String>> call, Response<BaseModel<String>> response) {
|
||||
|
||||
Reference in New Issue
Block a user