diff --git a/README.md b/README.md index b4f191e..db10618 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,10 @@ public class Api { } private static ApiService getApiService(){ - return ApiManager.getInstance().getApiService(ApiService.class); + if(apiService == null){ + apiService = ApiManager.getInstance().getApiService(ApiService.class); + } + return apiService; } public static void getApiAddr(String ip, SimpleCallback callback){ @@ -90,19 +93,19 @@ public class Api { 更多使用详情,请查看[app](app)中的源码使用示例 ## 关于我 - Name: Jenly + Name: Jenly - Email: jenly1314@gmail.com / jenly1314@vip.qq.com + Email: jenly1314#gmail.com / jenly1314#vip.qq.com - CSDN: http://blog.csdn.net/jenly121 + CSDN: jenly121 - Github: https://github.com/jenly1314 + Github: jenly1314 微信公众号: ![公众号](http://olambmg9j.bkt.clouddn.com/jenly666.jpg) - 加入QQ群: [20867961](http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1411582c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad) + 加入QQ群: 20867961