Commit d4c61a72a0195cb221f54c64651ba267643ce631

Authored by YangShuai
1 parent 6b12e7fc

搭建网络请求框架

app/strike/src/main/java/com/cnlive/strike/MyFragment.java
@@ -71,9 +71,11 @@ public class MyFragment extends BaseFragment<MyFragmentView, MyPresenter> { @@ -71,9 +71,11 @@ public class MyFragment extends BaseFragment<MyFragmentView, MyPresenter> {
71 71
72 } 72 }
73 }); 73 });
  74 +
  75 +
  76 + //多个请求
74 Map<String, String> param = new HashMap<>(); 77 Map<String, String> param = new HashMap<>();
75 param.put("sid", "358916"); 78 param.put("sid", "358916");
76 - //多个请求  
77 HttpConn.action( 79 HttpConn.action(
78 BaseRequest.service(ApiService.class) 80 BaseRequest.service(ApiService.class)
79 .getLetHimNoSee(param) 81 .getLetHimNoSee(param)