|
@@ -244,14 +244,14 @@ public class BomanReservatServiceImpl implements IBomanReservatService {
|
|
|
if ("3".equals(bomanReservat.getVisitType())) {
|
|
|
String visitPhone = reservat.getVisitPhone();
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("code", new BASE64Encoder().encodeBuffer(String.valueOf(reservat.getReservatId()).getBytes(StandardCharsets.UTF_8)));
|
|
|
+ String code = Base64.getEncoder().encodeToString(String.valueOf(reservat.getReservatId()).getBytes(StandardCharsets.UTF_8));
|
|
|
+ jsonObject.put("code", code);
|
|
|
//陵园预约通过通知 = SMS_464336030
|
|
|
SendSmsUtils.sendSms(visitPhone, "SMS_464336030", jsonObject.toString());
|
|
|
System.out.println("给(" + visitPhone + ")团队发送了审核通过的短信");
|
|
|
}
|
|
|
return i > 0 ? AjaxResult.success() : AjaxResult.error();
|
|
|
}
|
|
|
-
|
|
|
/**
|
|
|
* 预约首页统计
|
|
|
*
|