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 a22f599a9..39a114f28 100644 --- a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java +++ b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java @@ -210,7 +210,6 @@ public interface PDLiveApi { /** * 获取直播间信息 * - * @param liveuid 主播id * @return */ @GET("/api/public/?service=Live.getLiveInfo") @@ -1204,8 +1203,8 @@ public interface PDLiveApi { @POST("/api/public/?service=Pdlinfos.addText") Observable>> setHiConfig( @Body JSONObject content, - @Query("uid")String uid, - @Query("token")String token + @Query("uid") String uid, + @Query("token") String token ); @GET("/api/public/?service=Pdlinfos.editText") @@ -1221,12 +1220,15 @@ public interface PDLiveApi { Observable>> delHiConfig( @Query("id") int id ); + @Multipart @POST("/api/public/?service=Friendappinfos.updateAvatar") Observable> updateFile(@Part MultipartBody.Part file, @Query("uid") String uid, @Query("token") String token); + @Multipart @POST("/api/public/?service=Pdlinfos.updateMp3") Observable> updateFileToMp3(@Part MultipartBody.Part file, @Query("uid") String uid, @Query("token") String token); + @GET("/api/public/?service=Pdlinfos.setInfo") Observable>> initUserInfo( @Query("sex") int sex, @@ -1237,27 +1239,31 @@ public interface PDLiveApi { /** * 接单设置 + * * @param status 1开启 2关闭 */ @GET("/api/public/?service=Pdlinfos.setOpenOff") Observable>> setOpenOff( @Query("open_off") int status ); + @GET("/api/public/?service=Pdlmsg.sendBefore") Observable> getMessageSayHiTimer( ); + @GET("/api/public/?service=Pdlmsg.sendAfter") Observable>> callBackMessageSayHiTimer( @Query("tuid") String toUid, @Query("type") int type ); + @GET("/api/public/?service=Pdlmsg.getTips") Observable> getMessageSayHiStartTimer( ); - @GET("/api/public/?service=Userhome.getUserHomeBanner") - Observable>> getUserHomeBanner(@Query("select_uid") String tuid); + @GET("/api/public/?service=Pdluserhome.getUserHomeTopInfo") Observable> getUserHomeInfo(@Query("select_uid") String tuid); + @GET("/api/public/?service=Pdluserhome.getUserHomeInfo") Observable> getUserHomeExhibitInfo(@Query("select_uid") String tuid);