发布岗位加密对应的岗位id
This commit is contained in:
@@ -741,8 +741,11 @@ public class ESJobSearchImpl implements IESJobSearchService
|
||||
}
|
||||
|
||||
BeanUtils.copyBeanProp(esJobDocument, job);
|
||||
//生成jobId加密字段
|
||||
String encryptJobId=SM4Utils.encryptEcb(SM4Constants.SM4_KET, String.valueOf(job!=null?job.getJobId():null));
|
||||
esJobDocument.setEncryptJobId(encryptJobId);
|
||||
if (job != null && job.getJobId() != null) {
|
||||
esJobDocument.setAppJobUrl("https://www.xjksly.cn/app#/packageA/pages/post/post?jobId="+ Base64.getEncoder().encodeToString(String.valueOf(job.getJobId()).getBytes()));
|
||||
esJobDocument.setAppJobUrl("https://www.xjksly.cn/app#/packageA/pages/post/post?jobId="+ encryptJobId);
|
||||
}
|
||||
if(!StringUtil.isEmptyOrNull(job.getScale())){
|
||||
esJobDocument.setScale(Integer.valueOf(job.getScale()));
|
||||
|
||||
Reference in New Issue
Block a user