From f060e2fcd3147c1140621169c727a4467ff08091 Mon Sep 17 00:00:00 2001 From: kira <164851225@qq.com> Date: Mon, 16 Jul 2018 17:49:20 +0800 Subject: [PATCH] update --- .../manage/openim/core/OpenimClient.java | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) 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()); +// } }