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