|
|
|
@ -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<String> 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);
|
|
|
|
|
}
|
|
|
|
|