This commit is contained in:
hch 2024-03-15 17:40:25 +08:00
parent cdf5df119d
commit 4de3dce2fd

View File

@ -210,7 +210,6 @@ public interface PDLiveApi {
/**
* 获取直播间信息
*
* @param liveuid 主播id
* @return
*/
@GET("/api/public/?service=Live.getLiveInfo")
@ -1221,12 +1220,15 @@ public interface PDLiveApi {
Observable<ResponseModel<List<BaseModel>>> delHiConfig(
@Query("id") int id
);
@Multipart
@POST("/api/public/?service=Friendappinfos.updateAvatar")
Observable<ResponseModel<AvatarBean>> updateFile(@Part MultipartBody.Part file, @Query("uid") String uid, @Query("token") String token);
@Multipart
@POST("/api/public/?service=Pdlinfos.updateMp3")
Observable<ResponseModel<AvatarBean>> updateFileToMp3(@Part MultipartBody.Part file, @Query("uid") String uid, @Query("token") String token);
@GET("/api/public/?service=Pdlinfos.setInfo")
Observable<ResponseModel<List<BaseModel>>> initUserInfo(
@Query("sex") int sex,
@ -1237,27 +1239,31 @@ public interface PDLiveApi {
/**
* 接单设置
*
* @param status 1开启 2关闭
*/
@GET("/api/public/?service=Pdlinfos.setOpenOff")
Observable<ResponseModel<List<BaseModel>>> setOpenOff(
@Query("open_off") int status
);
@GET("/api/public/?service=Pdlmsg.sendBefore")
Observable<ResponseModel<MessageSayHiBean>> getMessageSayHiTimer(
);
@GET("/api/public/?service=Pdlmsg.sendAfter")
Observable<ResponseModel<List<BaseModel>>> callBackMessageSayHiTimer(
@Query("tuid") String toUid,
@Query("type") int type
);
@GET("/api/public/?service=Pdlmsg.getTips")
Observable<ResponseModel<MessageSayHiStartBean>> getMessageSayHiStartTimer(
);
@GET("/api/public/?service=Userhome.getUserHomeBanner")
Observable<ResponseModel<List<String>>> getUserHomeBanner(@Query("select_uid") String tuid);
@GET("/api/public/?service=Pdluserhome.getUserHomeTopInfo")
Observable<ResponseModel<HomeUserInfoBean>> getUserHomeInfo(@Query("select_uid") String tuid);
@GET("/api/public/?service=Pdluserhome.getUserHomeInfo")
Observable<ResponseModel<HomeUserExhibitInfoBean>> getUserHomeExhibitInfo(@Query("select_uid") String tuid);