// Path: MyZhiHuDaily/app/src/main/java/com/example/chentian/myzhihudaily/been/ContentListBeen.java
// public class ContentListBeen {
// 
//     private String date;
//     private List<Stories> stories;
//     public void setDate(String date) {
//          this.date = date;
//      }
//      public String getDate() {
//          return date;
//      }
// 
//     public void setStories(List<Stories> stories) {
//          this.stories = stories;
//      }
//      public List<Stories> getStories() {
//          return stories;
//      }
// 
// }


import com.example.chentian.myzhihudaily.been.ContentListBeen;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
package com.example.chentian.myzhihudaily.service;



/**
 * Created by chentian on 11/04/2017.
 */

public interface ContentListService {
    @GET("{date}")
// Path: MyZhiHuDaily/app/src/main/java/com/example/chentian/myzhihudaily/been/ContentListBeen.java
// public class ContentListBeen {
// 
//     private String date;
//     private List<Stories> stories;
//     public void setDate(String date) {
//          this.date = date;
//      }
//      public String getDate() {
//          return date;
//      }
// 
//     public void setStories(List<Stories> stories) {
//          this.stories = stories;
//      }
//      public List<Stories> getStories() {
//          return stories;
//      }
// 
// }


// Path: MyZhiHuDaily/app/src/main/java/com/example/chentian/myzhihudaily/service/ContentListService.java
import com.example.chentian.myzhihudaily.been.ContentListBeen;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

package com.example.chentian.myzhihudaily.service;



/**
 * Created by chentian on 11/04/2017.
 */

public interface ContentListService {
    @GET("{date}")
    Call<ContentListBeen> getContentList(@Path("date") String date);