Commit 890ed474a008ce09d536e7a35f88927ccd583ce7
1 parent
7735a21a
修改网络请求框架
Showing
1 changed file
with
1 additions
and
6 deletions
core/base/src/main/java/com/cnlive/core/libs/base/network/HttpConn.java
| @@ -18,12 +18,7 @@ import io.reactivex.schedulers.Schedulers; | @@ -18,12 +18,7 @@ import io.reactivex.schedulers.Schedulers; | ||
| 18 | public class HttpConn { | 18 | public class HttpConn { |
| 19 | public static final int ON_START = 0; | 19 | public static final int ON_START = 0; |
| 20 | public static final int ON_END = 1; | 20 | public static final int ON_END = 1; |
| 21 | - | ||
| 22 | - public static HttpConn create() { | ||
| 23 | - return new HttpConn(); | ||
| 24 | - } | ||
| 25 | - | ||
| 26 | - private static final String EXCEPTION_CODE = "-1";//异常 | 21 | + public static final String EXCEPTION_CODE = "-1";//异常 |
| 27 | 22 | ||
| 28 | 23 | ||
| 29 | /** | 24 | /** |