From 5cfea84117392bb5b464f4b1d3972198b9eb7b1c Mon Sep 17 00:00:00 2001 From: kira <164851225@qq.com> Date: Wed, 1 Aug 2018 17:12:53 +0800 Subject: [PATCH] add log --- .../payment/manage/merchants/core/impls/ClientManagerImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java index 62dbf09e8..a07d9758d 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java @@ -3055,11 +3055,13 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid sendMessageToBD(client, refuse_remark); if (client.getIntValue("source") == 4) { String contact_phone = client.getString("contact_phone"); + logger.info("testphone-------"+contact_phone); if (contact_phone.startsWith("+61")) { ArrayList param = new ArrayList<>(); param.add(refuse_remark); try { SmsSender.getSender().sendWithParam("+61", contact_phone.replace("+61", ""), REFUSE_CLIENT_TEMPLID, param, "RoyalPay", "", ""); + logger.info("testphone22-------"+contact_phone); } catch (Exception ignore) { throw new ServerErrorException("Phone number is wrong :" + contact_phone); }