修改查询es时,jobUrl问题
This commit is contained in:
@@ -183,7 +183,7 @@ public class ESJobSearchImpl implements IESJobSearchService
|
|||||||
esJobDocument.setEncryptJobId(encryptJobId);
|
esJobDocument.setEncryptJobId(encryptJobId);
|
||||||
CompanyVo vo=job.getCompanyVo();
|
CompanyVo vo=job.getCompanyVo();
|
||||||
esJobDocument.setCompanyVoJson(JSON.toJSONString(vo));
|
esJobDocument.setCompanyVoJson(JSON.toJSONString(vo));
|
||||||
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="+ SM4Utils.encryptEcb(SM4Constants.SM4_KET,String.valueOf(job.getJobId())));
|
||||||
if(!StringUtil.isEmptyOrNull(job.getScale())){
|
if(!StringUtil.isEmptyOrNull(job.getScale())){
|
||||||
esJobDocument.setScale(Integer.valueOf(job.getScale()));
|
esJobDocument.setScale(Integer.valueOf(job.getScale()));
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
Reference in New Issue
Block a user