app/src/main/java/cn/flightfeather/thirdappmodule/httpservice/ScenseService.java
@@ -4,6 +4,10 @@
import cn.flightfeather.thirdappmodule.bean.entity.Scense;
import cn.flightfeather.thirdappmodule.bean.entity.Task;
import cn.flightfeather.thirdappmodule.bean.vo.BaseSubScene;
import cn.flightfeather.thirdappmodule.bean.vo.SceneDetailStrVo;
import cn.flightfeather.thirdappmodule.bean.vo.SceneDetailVo;
import cn.flightfeather.thirdappmodule.model.bean.BaseResponse;
import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.Call;
@@ -41,4 +45,10 @@
    @POST("scense/getByTask")
    Observable<Response<ArrayList<Scense>>> getByTaskId(@Body Task task, @Query("mode") int mode);
    @GET("scense/detail")
    <T extends BaseSubScene> Observable<Response<BaseResponse<SceneDetailVo<T>>>> getSceneDetail(@Query("sceneId") String sceneId);
    @POST("scense/detail/update")
    Observable<Response<BaseResponse<String>>> updateSceneDetail(@Query("sceneTypeId") int typeId, @Body SceneDetailStrVo vo);
}