// Path: MyZhiHuDaily/app/src/main/java/com/example/chentian/myzhihudaily/been/HotNewsBeen.java
// public class HotNewsBeen {
// 
//     private List<Recent> recent;
//     public void setRecent(List<Recent> recent) {
//          this.recent = recent;
//      }
//      public List<Recent> getRecent() {
//          return recent;
//      }
// 
// }


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



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

public interface HotNewsService {
    @GET("hot")
// Path: MyZhiHuDaily/app/src/main/java/com/example/chentian/myzhihudaily/been/HotNewsBeen.java
// public class HotNewsBeen {
// 
//     private List<Recent> recent;
//     public void setRecent(List<Recent> recent) {
//          this.recent = recent;
//      }
//      public List<Recent> getRecent() {
//          return recent;
//      }
// 
// }


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

package com.example.chentian.myzhihudaily.service;



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

public interface HotNewsService {
    @GET("hot")
    Call<HotNewsBeen> getHotNews();