邮件链接地址添加
This commit is contained in:
@@ -29,4 +29,7 @@ public class HotakeInterviewInvitationVo extends BaseTemplateEmail {
|
|||||||
|
|
||||||
@ApiModelProperty("当前年")
|
@ApiModelProperty("当前年")
|
||||||
private String current_year;
|
private String current_year;
|
||||||
|
|
||||||
|
@ApiModelProperty("面试地址")
|
||||||
|
private String interview_now;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|||||||
import com.vetti.hotake.mapper.HotakeMeetingCalendarInfoMapper;
|
import com.vetti.hotake.mapper.HotakeMeetingCalendarInfoMapper;
|
||||||
import com.vetti.hotake.domain.HotakeMeetingCalendarInfo;
|
import com.vetti.hotake.domain.HotakeMeetingCalendarInfo;
|
||||||
import com.vetti.hotake.service.IHotakeMeetingCalendarInfoService;
|
import com.vetti.hotake.service.IHotakeMeetingCalendarInfoService;
|
||||||
|
import org.springframework.util.Base64Utils;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
@@ -375,6 +376,11 @@ public class HotakeMeetingCalendarInfoServiceImpl extends BaseServiceImpl implem
|
|||||||
vo.setPosition_name(rolesInfo.getRoleName());
|
vo.setPosition_name(rolesInfo.getRoleName());
|
||||||
vo.setInterview_date(calendarInfoVo.getMeetingDate() + " "+calendarInfoVo.getTimes());
|
vo.setInterview_date(calendarInfoVo.getMeetingDate() + " "+calendarInfoVo.getTimes());
|
||||||
vo.setCurrent_year(String.valueOf(DateUtil.year(DateUtil.date())));
|
vo.setCurrent_year(String.valueOf(DateUtil.year(DateUtil.date())));
|
||||||
|
|
||||||
|
String param = "roleId="+rolesInfo.getId()+"&roleApplyId="+calendarVo.getRoleApplyId()+"&userName="+SecurityUtils.getUsername()+"&userType=candidate&token=";
|
||||||
|
String paramBase64 = Base64Utils.encodeToString(param.getBytes());
|
||||||
|
String webUrl = "https://vetti.hotake.cn/#/interview/link?uuid="+paramBase64;
|
||||||
|
vo.setInterview_now(webUrl);
|
||||||
verificationService.sendInterviewTemplate(user.getEmail(),twilioConfig.getTemplateIds().getInterviewTemplateCode(),vo);
|
verificationService.sendInterviewTemplate(user.getEmail(),twilioConfig.getTemplateIds().getInterviewTemplateCode(),vo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user