Commit 51cf1c67 by 284718418@qq.com

1.面试消息提醒模板修改

2.发送消息接口修改
3.h5服务地址 配置
parent 5c240733
...@@ -249,7 +249,7 @@ public class ZpglServiceImpl implements ZpglService { ...@@ -249,7 +249,7 @@ public class ZpglServiceImpl implements ZpglService {
interviewNotice.setYgglMainEmpId(ygglMainEmp.getId()); interviewNotice.setYgglMainEmpId(ygglMainEmp.getId());
} }
interviewNotice.setTemplateId(MessageTemplate.TEMPLATE_ID_TO_INTERVIEWER); interviewNotice.setTemplateId(MessageTemplate.TEMPLATE_ID_TO_INTERVIEWER);
interviewNotice.setContentStr(ZpglMessageTemplate.print(ZpglMessageTemplate.TO_INTERVIEWER, new String[]{interviewNotice.getZpglZwxxName(), interviewNotice.getName()})); interviewNotice.setContentStr(ZpglMessageTemplate.print(ZpglMessageTemplate.TO_INTERVIEWER, new String[]{interviewNotice.getName()}));
log.info("TO_INTERVIEWER addInterviewMessageQueue info:{}", zpglWxgzptService.addInterviewMessageQueue(interviewNotice)); log.info("TO_INTERVIEWER addInterviewMessageQueue info:{}", zpglWxgzptService.addInterviewMessageQueue(interviewNotice));
// 通知面试者 // 通知面试者
interviewNotice.setZpglRcxxId(zpglRcxxEntity.getId()); interviewNotice.setZpglRcxxId(zpglRcxxEntity.getId());
......
...@@ -30,7 +30,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService { ...@@ -30,7 +30,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
@Override @Override
public String addMessageQueue(Map<String, Object> map) { public String addMessageQueue(Map<String, Object> map) {
return HttpUtil.post(serverUrl + "/wxgzh/addMessageQueue", map); return HttpUtil.post(serverUrl + "/order/wxgzh/addMessageQueue", map);
} }
@Override @Override
...@@ -60,7 +60,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService { ...@@ -60,7 +60,7 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
/** 模板消息内容 end */ /** 模板消息内容 end */
Map map = JSON.parseObject(JSON.toJSONString(mqd), Map.class); Map map = JSON.parseObject(JSON.toJSONString(mqd), Map.class);
return HttpUtil.post(serverUrl + "/wxgzh/addMessageQueue", map); return HttpUtil.post(serverUrl + "/order/wxgzh/addMessageQueue", map);
} }
@Override @Override
...@@ -96,6 +96,6 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService { ...@@ -96,6 +96,6 @@ public class ZpglWxgzptServiceImpl implements ZpglWxgzptService {
/** 模板消息内容 end */ /** 模板消息内容 end */
Map map = JSON.parseObject(JSON.toJSONString(mqd), Map.class); Map map = JSON.parseObject(JSON.toJSONString(mqd), Map.class);
return HttpUtil.post(serverUrl + "/wxgzh/addMessageQueue", map); return HttpUtil.post(serverUrl + "/order/wxgzh/addMessageQueue", map);
} }
} }
...@@ -23,7 +23,7 @@ public class ZpglMessageTemplate { ...@@ -23,7 +23,7 @@ public class ZpglMessageTemplate {
public static final String OFFER_ENTRYING ="{0} 将候选人状态从[{3}}]更改为[录用淘汰], 淘汰原因:{1},备注:{2}"; public static final String OFFER_ENTRYING ="{0} 将候选人状态从[{3}}]更改为[录用淘汰], 淘汰原因:{1},备注:{2}";
public static final String SYS_ADD ="系统添加了候选人"; public static final String SYS_ADD ="系统添加了候选人";
public static final String TO_INTERVIEWER ="您好,{0}{1}已安排由您面试"; public static final String TO_INTERVIEWER ="您好,候选人:{0} 已安排由您面试";
public static final String TO_INTERVIEWEE ="候选人{0}您好!您所投递的 {1} 职位为您安排了面试"; public static final String TO_INTERVIEWEE ="候选人{0}您好!您所投递的 {1} 职位为您安排了面试";
public static final String TO_APPLY ="请您认真填写应聘登记表"; public static final String TO_APPLY ="请您认真填写应聘登记表";
public static final String TO_CEPIN ="请您认真填写FPA测评试卷"; public static final String TO_CEPIN ="请您认真填写FPA测评试卷";
......
...@@ -273,3 +273,9 @@ insure: ...@@ -273,3 +273,9 @@ insure:
secretq: 'a2da17a2797c63dff9172df50af9da65' secretq: 'a2da17a2797c63dff9172df50af9da65'
uploadUrlq: 'https://portal.unistar-ins.com/fuli/Home/Index/file_upload' uploadUrlq: 'https://portal.unistar-ins.com/fuli/Home/Index/file_upload'
batchUrl: 'https://portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare' batchUrl: 'https://portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare'
youling:
serverUrl: 'https://www.youlingrc.com'
#h5服务地址
h5:
url: 'http://h5.8timer.cn'
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment