diff --git a/src/main/java/au/com/royalpay/payment/manage/openim/core/OpenimClient.java b/src/main/java/au/com/royalpay/payment/manage/openim/core/OpenimClient.java index 370612bb0..21d402e7f 100644 --- a/src/main/java/au/com/royalpay/payment/manage/openim/core/OpenimClient.java +++ b/src/main/java/au/com/royalpay/payment/manage/openim/core/OpenimClient.java @@ -105,25 +105,25 @@ public class OpenimClient { } - public static void main(String[] args) { - String appkey = "24960261"; - String secret = "7639427973bd671be15c9d0c1e9c90b4"; - String url = "https://eco.taobao.com/router/rest"; - TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); - OpenimUsersAddRequest req = new OpenimUsersAddRequest(); - List list2 = new ArrayList(); - Userinfos obj3 = new Userinfos(); - list2.add(obj3); - obj3.setNick("im123"); - obj3.setUserid("im123"); - obj3.setPassword("xxxxxx"); - req.setUserinfos(list2); - OpenimUsersAddResponse rsp = null; - try { - rsp = client.execute(req); - } catch (ApiException e) { - e.printStackTrace(); - } - System.out.println(rsp.getBody()); - } +// public static void main(String[] args) { +// String appkey = "24960261"; +// String secret = "7639427973bd671be15c9d0c1e9c90b4"; +// String url = "https://eco.taobao.com/router/rest"; +// TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); +// OpenimUsersAddRequest req = new OpenimUsersAddRequest(); +// List list2 = new ArrayList(); +// Userinfos obj3 = new Userinfos(); +// list2.add(obj3); +// obj3.setNick("im123"); +// obj3.setUserid("im123"); +// obj3.setPassword("xxxxxx"); +// req.setUserinfos(list2); +// OpenimUsersAddResponse rsp = null; +// try { +// rsp = client.execute(req); +// } catch (ApiException e) { +// e.printStackTrace(); +// } +// System.out.println(rsp.getBody()); +// } }