update
This commit is contained in:
@@ -3,6 +3,7 @@ package com.shayu.onetoone.network;
|
||||
import com.shayu.onetoone.bean.AvatarBean;
|
||||
import com.shayu.onetoone.bean.GreetBean;
|
||||
import com.shayu.onetoone.bean.JoinAnchorBean;
|
||||
import com.shayu.onetoone.bean.OfficialNoticeBean;
|
||||
import com.shayu.onetoone.bean.UserBean;
|
||||
import com.yunbao.common.bean.BaseModel;
|
||||
import com.yunbao.common.bean.IMLoginModel;
|
||||
@@ -82,10 +83,13 @@ public interface OneToOneApi {
|
||||
Observable<ResponseModel<Integer>> getGreetConfigStatus();
|
||||
@GET("/api/public/?service=Friendappinfos.setTextStatus")
|
||||
Observable<ResponseModel<BaseModel>> setGreetConfigGreet( @Query("id")String id, @Query("status")String status);
|
||||
|
||||
@POST("/api/public/?service=Friendappinfos.updateAvatar")
|
||||
@Multipart
|
||||
Observable<ResponseModel<AvatarBean>> updateFile(@Part MultipartBody.Part file);
|
||||
@POST("/api/public/?service=Friendappinfos.updateAvatar")
|
||||
Observable<ResponseModel<AvatarBean>> updateFile(@Part MultipartBody.Part file,@Query("uid")String uid,@Query("token")String token);
|
||||
|
||||
@GET("/api/public/?service=Message.getLists")
|
||||
Observable<ResponseModel<List<OfficialNoticeBean>>> getLists();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user