package com.joker.fourfun.net;

import com.joker.fourfun.model.ArticleOne;
import com.joker.fourfun.model.Picture;
import com.joker.fourfun.model.Zhihu;

import java.util.List;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by joker on 2016/11/27.
 */

public interface UserService {
    @GET("PicZhihuServlet")
    Flowable<HttpResult<List<Zhihu>>> zhihuPic();

    @GET("PicOneServlet")
    Flowable<HttpResult<List<Picture>>> picOne(@Query("date") String date);

    @GET("PicOneServlet")
    Flowable<HttpResult<List<Picture>>> picOneNum(@Query("num") String num);

    @GET("ArOneServlet")
    Flowable<HttpResult<List<ArticleOne>>> article(@Query("num") int num);
}
@@ -68,16 +68,92 @@
 cleOne;%0A
+import com.joker.fourfun.model.Movie;%0Aimport com.joker.fourfun.model.Music;%0A
 import c
@@ -794,10 +794,208 @@
 nt num);
+%0A%0A    @GET(%22MusicServlet%22)%0A    Flowable%3CHttpResult%3CList%3CMusic%3E%3E%3E music(@Query(%22date%22) String date);%0A%0A    @GET(%22MovieServlet%22)%0A    Flowable%3CHttpResult%3CList%3CMovie%3E%3E%3E movie(@Query(%22date%22) String date);
 %0A%7D

add music and movie interface