Browse Source

modify:

1. 短信通知增加联系人联系方式;
tags/24080901
WendyYang 3 months ago
parent
commit
0f5fc2a7a6
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/meeting/helper/MeetingNotifyHelper.java
  2. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/sms/constant/VoiceSmsTemplateConst.java

+ 3
- 1
hz-pm-api/src/main/java/com/hz/pm/api/meeting/helper/MeetingNotifyHelper.java View File

@@ -193,7 +193,9 @@ public class MeetingNotifyHelper {
private void smsExperts(Meeting meeting, List<MeetingExpert> experts) { private void smsExperts(Meeting meeting, List<MeetingExpert> experts) {
String content = String.format(VoiceSmsTemplateConst.EXPERT_INVITE_SMS, String content = String.format(VoiceSmsTemplateConst.EXPERT_INVITE_SMS,
meeting.getHoldOrg(), meeting.getName(), officialTime(meeting.getStartTime()), meeting.getHoldOrg(), meeting.getName(), officialTime(meeting.getStartTime()),
meeting.getMeetingAddress());
meeting.getMeetingAddress(),
meeting.getConnecter(),
meeting.getContact());
Set<String> phones = CollUtils.fieldSet(experts, MeetingExpert::getMobile); Set<String> phones = CollUtils.fieldSet(experts, MeetingExpert::getMobile);
String submitKey; String submitKey;
if (environmentUtil.isDevEnv() && Boolean.TRUE.equals(inviteSkipSendSms)) { if (environmentUtil.isDevEnv() && Boolean.TRUE.equals(inviteSkipSendSms)) {


+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/sms/constant/VoiceSmsTemplateConst.java View File

@@ -28,6 +28,6 @@ public class VoiceSmsTemplateConst {
*/ */
public static final String EXPERT_INVITE_CALL = "尊敬的专家您好,%s现邀请您作为专家参加%s会议,会议时间:%s,会议地点:%s。 确认参加请按 1,拒绝参加请按 2,重听请按星号键。请您选择"; public static final String EXPERT_INVITE_CALL = "尊敬的专家您好,%s现邀请您作为专家参加%s会议,会议时间:%s,会议地点:%s。 确认参加请按 1,拒绝参加请按 2,重听请按星号键。请您选择";


public static final String EXPERT_INVITE_SMS = "【杭州数字信创】尊敬的专家您好,%s现邀请您作为专家参加%s会议,会议时间:%s,会议地点:%s。 确认参加请回复 1,拒绝参加请回复 2。请您选择";
public static final String EXPERT_INVITE_SMS = "【杭州数字信创】尊敬的专家您好,%s现邀请您作为专家参加%s会议,会议时间:%s,会议地点:%s。 确认参加请回复 1,拒绝参加请回复 2。如有疑问请联系:%s(%s)。";


} }

Loading…
Cancel
Save