From 1fea8768c277d8c2eaf0705afd1f040a94d93029 Mon Sep 17 00:00:00 2001 From: "taylor.dang" Date: Mon, 13 May 2019 11:38:55 +0800 Subject: [PATCH] =?UTF-8?q?[Y]=20=E7=A7=BB=E9=99=A4=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E4=B8=BB=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/EncourageMoneyController.java | 9 -------- .../manage/openim/core/OpenimClient.java | 21 ------------------- 2 files changed, 30 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/customers/web/EncourageMoneyController.java b/src/main/java/au/com/royalpay/payment/manage/customers/web/EncourageMoneyController.java index a536f7ed8..42a446ddf 100644 --- a/src/main/java/au/com/royalpay/payment/manage/customers/web/EncourageMoneyController.java +++ b/src/main/java/au/com/royalpay/payment/manage/customers/web/EncourageMoneyController.java @@ -80,13 +80,4 @@ public class EncourageMoneyController { public ModelAndView merchantsPage() { return new ModelAndView("activity/encourage_money/merchants"); } - - - public static void main(String[] args) { - JSONObject asd = null; - - JSONObject qwe = null; - System.out.println(asd); - System.out.println(qwe); - } } 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 9e4c8359c..ee4ce9bb0 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 @@ -111,25 +111,4 @@ public class OpenimClient { } } - public static void main(String[] args) { - String appkey = "24980715"; - String secret = "60b1ba680a6f27ffc701f10b6d5be00e"; - String url = "https://eco.taobao.com/router/rest"; - - TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); - OpenimUsersGetRequest req = new OpenimUsersGetRequest(); - // 批量为userid逗号分隔字符串 - req.setUserids("kiraservant"); - OpenimUsersGetResponse rsp = null; - try { - rsp = client.execute(req); - } catch (ApiException e) { - } - JSONObject openInfo = JSONObject.parseObject(rsp.getBody()); - System.out.println(openInfo.toJSONString()); - System.out.println(openInfo.toJSONString()); - System.out.println(openInfo.toJSONString()); - } - - }