master
kira 6 years ago
parent ab97b9a2ee
commit d50b476077

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

Loading…
Cancel
Save