Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2b8ec774
authored
Jan 07, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
202601月中版本 招聘管理
1 parent
c5c75397
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/recruitment/RecruitmentDemandService.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/recruitment/RecruitmentDemandService.java
View file @
2b8ec77
...
@@ -707,16 +707,28 @@ public class RecruitmentDemandService {
...
@@ -707,16 +707,28 @@ public class RecruitmentDemandService {
}
}
// 5. 获取H5页面URL
// 5. 获取H5页面URL
String
h5BaseUrl
=
env
.
getProperty
(
"dj.technical.supervisor.h5.base.url"
);
String
h5Url
=
env
.
getProperty
(
"dj.technical.supervisor.h5.recruitment.url"
);
String
h5RecruitmentListPath
=
env
.
getProperty
(
"dj.technical.supervisor.h5.recruitment.list.path"
);
if
(
StringUtils
.
isBlank
(
h5
BaseUrl
)
||
StringUtils
.
isBlank
(
h5RecruitmentListPath
))
{
if
(
StringUtils
.
isBlank
(
h5
Url
))
{
log
.
error
(
"{} - H5页面配置参数缺失,
h5BaseUrl:{}, h5RecruitmentListPath:{}"
,
logDesc
,
h5BaseUrl
,
h5RecruitmentListPath
);
log
.
error
(
"{} - H5页面配置参数缺失,
配置项:dj.technical.supervisor.h5.recruitment.url"
,
logDesc
);
return
;
return
;
}
}
// 拼接H5完整URL
// 添加技术督导名称和手机号参数
String
h5Url
=
h5BaseUrl
+
h5RecruitmentListPath
;
try
{
// URL编码技术督导名称,避免中文乱码
String
encodedName
=
java
.
net
.
URLEncoder
.
encode
(
technicalSupervisorName
!=
null
?
technicalSupervisorName
:
""
,
"UTF-8"
);
String
encodedPhone
=
java
.
net
.
URLEncoder
.
encode
(
technicalSupervisorPhone
!=
null
?
technicalSupervisorPhone
:
""
,
"UTF-8"
);
// 判断原始路径是否已包含参数
if
(
h5Url
.
contains
(
"?"
))
{
h5Url
=
h5Url
+
"&name="
+
encodedName
+
"&phone="
+
encodedPhone
;
}
else
{
h5Url
=
h5Url
+
"?name="
+
encodedName
+
"&phone="
+
encodedPhone
;
}
}
catch
(
Exception
e
)
{
log
.
warn
(
"{} - URL编码异常,使用原始参数"
,
logDesc
,
e
);
}
// 6. 发送H5卡片通知消息
// 6. 发送H5卡片通知消息
boolean
success
=
sendDJCloudWechatTextCardMessage
(
boolean
success
=
sendDJCloudWechatTextCardMessage
(
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment