generated from dxfeng/secondev-chapanda-feishu
面试反馈功能完善,配置文件常量整理
This commit is contained in:
parent
e0394a00e3
commit
cb86a9e33b
|
|
@ -54,14 +54,19 @@ OFFER_MOBILE_URL=http://ip:port/mobilemode/mobile/view.html?appid=2&mTokenFrom=a
|
|||
APPLICANTS_RESUMES_CATEGORY=110
|
||||
|
||||
|
||||
#############################\u53CD\u9988\u5730\u5740\u76F8\u5173\u914D\u7F6E##############################
|
||||
#\u9762\u8BD5\u53CD\u9988\u5730\u5740\uFF0C\u5982\u672A\u81EA\u884C\u8C03\u6574ecode,\u65E0\u9700\u4FEE\u6539\u8BE5\u5730\u5740
|
||||
INTERVIEW_FEEDBACK_URL=/spa/custom/static/index.html#/main/cs/app/9277c228302347dc88a958b69ee96234_Interview
|
||||
|
||||
|
||||
#############################\u5E94\u8058\u8005\u5361\u7247\u7B80\u5386\u8BC6\u522B\u914D\u7F6E##############################
|
||||
#\u5E94\u8058\u8005\u5361\u7247\uFF0C\u7B80\u5386\u8BC6\u522B\u5B9E\u73B0\u7C7B\uFF0C\u5982\u672A\u8D2D\u4E70OCR\u670D\u52A1\uFF0C\u65E0\u9700\u914D\u7F6E
|
||||
#\u5343\u91CC\u8046\u5B9E\u73B0\u7C7B\uFF1Acom.engine.recruit.service.impl.ResumeRecognitionServiceImpl
|
||||
OCR_TYPE=com.engine.recruit.service.impl.ResumeRecognitionServiceImpl
|
||||
|
||||
#\u7B80\u5386\u667A\u80FD\u62BD\u53D6\u670D\u52A1-\u5343\u91CC\u8046\u5730\u5740
|
||||
qianlilingurl=https://open.easst.cn/openapi/rest/resume
|
||||
OCR_URL=https://open.easst.cn/openapi/rest/resume
|
||||
#appid
|
||||
appId=84th31r9
|
||||
APP_ID=84th31r9
|
||||
#appSecret
|
||||
appSecret=b43c83ea6f2169f2fd20e691bcdfa6f6
|
||||
APP_SECRET=b43c83ea6f2169f2fd20e691bcdfa6f6
|
||||
|
|
@ -33,6 +33,7 @@ public class RecruitConstant {
|
|||
public static final String MOBILE_APPID_OFFER;
|
||||
public static final String OFFER_MOBILE_URL;
|
||||
public static final String APPLICANTS_RESUMES_CATEGORY;
|
||||
public static final String INTERVIEW_FEEDBACK_URL;
|
||||
public static final String OCR_TYPE;
|
||||
public static final String OCR_URL;
|
||||
public static final String APP_ID;
|
||||
|
|
@ -59,6 +60,8 @@ public class RecruitConstant {
|
|||
// offer反馈移动建模地址
|
||||
OFFER_MOBILE_URL = getCompleteUrl(getRecruitPropValue("OFFER_MOBILE_URL"));
|
||||
APPLICANTS_RESUMES_CATEGORY = getRecruitPropValue("APPLICANTS_RESUMES_CATEGORY");
|
||||
// 面试反馈地址
|
||||
INTERVIEW_FEEDBACK_URL = getCompleteUrl(getRecruitPropValue("INTERVIEW_FEEDBACK_URL"));
|
||||
|
||||
// OCR相关
|
||||
OCR_TYPE = getRecruitPropValue("OCR_TYPE");
|
||||
|
|
@ -86,7 +89,7 @@ public class RecruitConstant {
|
|||
* @param url
|
||||
* @return
|
||||
*/
|
||||
private static String getCompleteUrl(String url) {
|
||||
public static String getCompleteUrl(String url) {
|
||||
try {
|
||||
URL u = new URL(url);
|
||||
// 如果URL对象的getHost()方法获取到了域名,则直接返回原始URL
|
||||
|
|
|
|||
|
|
@ -118,8 +118,7 @@ public class BatchAddInterviewResultModeExpand extends AbstractModeExpandJavaCod
|
|||
String sjh = Util.null2String(detailDataMap.get("sjhm"));
|
||||
if (sendEmail) {
|
||||
if (needFeedback) {
|
||||
// TODO
|
||||
String confirmUrl = RecruitConstant.HTTP_URL + "/spa/custom/static/index.html#/main/cs/app/9277c228302347dc88a958b69ee96234_Interview?uuid=" + uuid;
|
||||
String confirmUrl = RecruitConstant.INTERVIEW_FEEDBACK_URL + "?uuid=" + uuid;
|
||||
String emailContent = "<div style=\"border:3px solid silver;width:635px;height:55px;line-height:55px;font-family:'microsoft Yahei';font-size:18px;font-weight:bold;color:#333;padding-left:10px\">请您答复是否参加此次邀请? <a href=\"" + confirmUrl + "&status=0\" style=\"text-decoration:underline;color:#0000cc;margin-right:10px\">参加</a> <a href=\"" + confirmUrl + "&status=1\" style=\"text-decoration:underline;color:#0000cc;\">不参加</a></div>";
|
||||
// 邮件内容拼接确认信息
|
||||
emailContent = msgContent + emailContent;
|
||||
|
|
|
|||
|
|
@ -95,8 +95,7 @@ public class CreateInterviewModeExpand extends AbstractModeExpandJavaCodeNew {
|
|||
if (rs.next()) {
|
||||
uuid = rs.getString("modeuuid");
|
||||
}
|
||||
// TODO
|
||||
String confirmUrl = RecruitConstant.HTTP_URL + "/spa/custom/static/index.html#/main/cs/app/9277c228302347dc88a958b69ee96234_Interview?uuid=" + uuid;
|
||||
String confirmUrl = RecruitConstant.INTERVIEW_FEEDBACK_URL + "?uuid=" + uuid;
|
||||
String emailContent = "<div style=\"border:3px solid silver;width:635px;height:55px;line-height:55px;font-family:'microsoft Yahei';font-size:18px;font-weight:bold;color:#333;padding-left:10px\">请您答复是否参加此次邀请? <a href=\"" + confirmUrl + "&status=0\" style=\"text-decoration:underline;color:#0000cc;margin-right:10px\">参加</a> <a href=\"" + confirmUrl + "&status=1\" style=\"text-decoration:underline;color:#0000cc;\">不参加</a></div>";
|
||||
// 邮件内容拼接确认信息
|
||||
emailContent = msgContent + emailContent;
|
||||
|
|
|
|||
Loading…
Reference in New Issue