package com.joker.fourfun.net;

import com.joker.fourfun.model.ArDaily;
import com.joker.fourfun.model.PicOne;
import com.joker.fourfun.model.Zhihu;

import java.util.List;

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

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

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

    @GET("PicOneServlet")
    Flowable<HttpResult<List<PicOne>>> picOne(@Field("num") String num);

    @GET("ArDailyServlet")
    Flowable<HttpResult<List<ArDaily>>> arDaily(@Field("num") String num);
}
@@ -219,21 +219,19 @@
 t2.http.
-Field
+GET
 ;%0Aimport
@@ -246,19 +246,21 @@
 t2.http.
-GET
+Query
 ;%0A%0A/**%0A 
@@ -481,21 +481,126 @@
 picOne(@
-Field
+Query(%22date%22) String date);%0A%0A    @GET(%22PicOneServlet%22)%0A    Flowable%3CHttpResult%3CList%3CPicOne%3E%3E%3E picOneNum(@Query
 (%22num%22) 
@@ -693,13 +693,13 @@
 ly(@
-Field
+Query
 (%22nu

fix the error