master
kira 6 years ago
parent ab97b9a2ee
commit d50b476077

@ -322,7 +322,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
@PostConstruct
public void init() {
tags.add("account");
sender = new SmsSingleSender(appId, appKey);
sender = new SmsSingleSender(1400094878, "43390d81e20c5191c278fbf4cd275be2");
}
@Override
@ -3066,7 +3066,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
ArrayList<String> param = new ArrayList<>();
param.add(refuse_remark);
try {
sender.sendWithParam("+61", contact_phone.replace("+61", ""), REFUSE_CLIENT_TEMPLID, param, "RoyalPay", "", "");
sender.sendWithParam("61", contact_phone.replace("+61", ""), REFUSE_CLIENT_TEMPLID, param, "RoyalPay", "", "");
} catch (Exception ignore) {
throw new ServerErrorException("Phone number is wrong :" + contact_phone);
}

Loading…
Cancel
Save