update something..

This commit is contained in:
jinyu
2015-05-30 21:00:05 +08:00
parent 48442d1c43
commit a1cd537db6
3 changed files with 10 additions and 6 deletions
@@ -101,12 +101,12 @@ public class CustomApi extends MpApi {
String text = "";
if (isOnline) {
String getonlinekflist_uri = getRequestUri("getonlinekflist_uri");
WeixinResponse response = weixinClient.post(String.format(getonlinekflist_uri,
WeixinResponse response = weixinClient.get(String.format(getonlinekflist_uri,
token.getAccessToken()));
text = response.getAsJson().getString("kf_online_list");
} else {
String getkflist_uri = getRequestUri("getkflist_uri");
WeixinResponse response = weixinClient.post(String.format(getkflist_uri,
WeixinResponse response = weixinClient.get(String.format(getkflist_uri,
token.getAccessToken()));
text = response.getAsJson().getString("kf_list");
}